For select it is easy and the solution is here
How do I view the SQL generated by the Entity Framework?
But what about Update, Delete and Insert?
I'm using EF version 4.
For select it is easy and the solution is here
How do I view the SQL generated by the Entity Framework?
But what about Update, Delete and Insert?
I'm using EF version 4.
SQL profiler is an option (and you can luckily use "Application Name" "EntityFramework" (or similar that might not be exactly it) to target EF queries.
In addition to SQL profiler, here's an article from Julie Lerman (one of the leading EF peoples): http://msdn.microsoft.com/en-us/magazine/gg490349.aspx
EDIT:
also here are a few other options in this SO question: How do I view the SQL generated by the Entity Framework?