I can see the SQL generated by Entity Framework for select operations in Visual studio, but not for insert, update and delete. how can I see the SQL generated for \"DataCont
If you have visual studio ultimate you can see the updates and inserts in intellitrace. Just put a breakpoint right after SaveChanges is called.
http://www.youtube.com/watch?v=fLBpZNXs-Lw
If you are using it on a web project you could also use mini-profiler.
http://miniprofiler.com/