Tracing all SQL generated by Entity Framework
by Paul Kiddie • March 3, 2013 • .net, sql • 1 Comment
A nice quick one this week. I spent a little bit of time trying to debug some Entity Framework queries, particularly the parameter values used in a SQL INSERT composed when calling AddObject/SaveChanges. There are a few ways to determine the underlying SQL. If you are only interested in LINQ queries, using ToTraceString() on ObjectQuery […]
Read more →