How to log Entity Framework SQL

Posted by Kevin Pang on Stack Overflow See other posts from Stack Overflow or by Kevin Pang
Published on 2010-04-17T17:11:24Z Indexed on 2010/04/17 18:23 UTC
Read the original article Hit count: 280

Filed under:
|
|

I'd like to be able to log all the SQL queries executed by the Entity Framework to log4net. What's the best way to do this?

© Stack Overflow or respective owner

Related posts about entity-framework

Related posts about logging