How do I output/log the sql being executed behind the scenes by the Entity Framework in an asp .net

Posted by baijajusav on Stack Overflow See other posts from Stack Overflow or by baijajusav
Published on 2010-03-03T15:19:45Z Indexed on 2010/04/03 4:23 UTC
Read the original article Hit count: 479

How do I output/log the sql being executed behind the scenes by the Entity Framework in an asp .net mvc application? In my case I'm using a Sql Server 2005 database.

I found this question Linq to Sql logging, but I'm trying to figure out how to do this with the entity framework v1 and asp .net mvc 1.0. Any one have any ideas on how?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about asp.net-mvc