Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

Commented Issue: Allow simple logging of database commands [397]

$
0
0
When one is debugging my app, I would like to have a way to know the last command executed by the entity framework to know if one can improve the query by changing the lambda query / linq expression or even writing the t-sql query.
Not everyone has the sql profiler to check the queries and we all know that entity still has some problems with complex queries
Comments: Keep in mind that DbQuery.ToString does not cover queries capped by query operators that return a single element and cause immediate execution such as First, Count, Sum, etc. See http://entityframework.codeplex.com/workitem/958 for how we are thinking about addressing this,problem.

Viewing all articles
Browse latest Browse all 10318

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>