ProgrammerGuide.Net | Step by Step Programmer Guide

Interception and Logging For Entity Framework 6 Is Improved In Visual Studio 2013 | ProgrammerGuide.Net | Step by Step Guide

Interception and SQL logging allows you to view – or even change – every command that is sent to the database by Entity Framework. This includes a simple, human readable log – which is great for debugging – as well as some lower level building blocks that give you access to the command and results. Here is an example of wiring up the simple log to Debug in the constructor of an MVC controller:

image

Please click here for related products on Amazon!

Jayashee

Add comment

Want to Check Celebrities News?