Skip to content

Instantly share code, notes, and snippets.

@cmatskas
Created May 20, 2015 07:11
Show Gist options
  • Save cmatskas/1046f64687ab98efd4e4 to your computer and use it in GitHub Desktop.
Save cmatskas/1046f64687ab98efd4e4 to your computer and use it in GitHub Desktop.
using (var context = new YourDbContext())
{
context.Database.Log = Console.Write;
// rest of you code goes here...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment