views:

33

answers:

2

I would like to know if exists a way to log all DB trips from Entity Framework.

I have google it, but I didn't found

+2  A: 

This tool might be able to help. It will give you more information than just that. This profiler will let you see the SQL queries being sent to the database as well as plenty of other information.

http://www.efprof.com/

Brendan Enrick
Do you know a free tool?
muek
efprof is a great tool. WOrth the $$. And using the subscription, it doesn't cost that much really....
Bryce Fischer
+1  A: 

You can use EFTracingProvider from MSDN code gallery.

Ladislav Mrnka
Thanks, but I already knew that one :D
muek
So you already knew the solution ...
Ladislav Mrnka