entity framework - Is it possible to trace insert/update/delete commands in EF 5 (DbContext)? -


i know, if it´s possible trace insert, update , delete statements generated savechanges method of dbcontext class; , if yes, how can command text?

there many ways let see generated sql statements, pick 1 fits needs:

  • sql profiler: step step procedure here
  • intellitrace: here
  • ef tracing provider: here

and if you're working on web app, consider use 1 of tools:


Comments