Logging Entity Framework Queries to Look for Perf Improvement Opportunities

Posted by: Julia Lerman Blog - Dont Be Iffy..., on 16 Feb 2009 | View original | Bookmarked: 0 time(s)

One of the big questions people have about Entity Framework's dynamically generated queries is "what does the store query look like?", immediately followed by "is that store query acceptable"? There are a few ways to see what the store generated queries look like. One is to use ObjectQuery.ToTraceString. It's possible to use this method with LINQ to Entities queries as well, because  you can cast a L2E query to an ObjectQuery. The other way to see the generated store query is good old SqlProfiler,...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: Data | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1118 | Hits: 37

Similar Posts

  • Using Pre-Compiled LINQ to Entities Queries in Web Apps and Services more
  • READERS COMMENTS: performance of EF vs. LINQ to SQL more
  • Talking Points: ADO.NET Entity Framework more
  • Looking at EF Performance - some surprises more
  • VS2008 and .NET 3.5 Service Pack 1 Beta now available more
  • Sneak Peek at the EntityDataSource Control more
  • How do LINQ to Entities queries surface in the database? more
  • Exploring EntityKeys, Web Services and Serialization a little further more
  • DLinq (Linq to SQL) Performance (Part 1) more
  • Grokking Entity Mapping in ADO.NET Orcas more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD