2019-10-09 09:25:35
Use the following code to send Entity Framework logs to the console.
var context = new MyDBContext(); context.Database.Log = Console.WriteLine;
Use the following code to send Entity Framework logs to the console.
var context = new MyDBContext(); context.Database.Log = Console.WriteLine;