Querying with LINQ to Entities vs ObjectQuery in EF

Posted by: Julia Lerman Blog - Dont Be Iffy..., on 05 Aug 2008 | View original | Bookmarked: 0 time(s)

I am copying (and slightly modifying so that it is not out of context) a forum post that I wrote to put here in my blog. Here's the original thread if you are interested. When working with object services, you can query data using LINQ to Entities or ObjectQueries with Entity SQL. Unless you specifically use LINQ syntax in your EF query, it will be an ObjectQuery. An example. context.Customers is an ObjectQuery. The same as context.CreateQuery("SELECT c FROM myentitycontainer.Customers as c")...

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: XML | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 2320 | Hits: 464

Similar Posts

  • Chat room questions from the EF Tips & Tricks webcast more
  • Visual Studio Add-In vs. Integration Package Part 1 more
  • Important Entity Framework Query Improvements for .NET 4.0 more
  • VS2010 Beta 1 - It's Better on Metal more
  • Logging Entity Framework Queries to Look for Perf Improvement Opportunities more
  • Introducing Entity Framework at CapArea.NET User Group on Tuesday more
  • Best approach for teaching first exposure to Entity Framework more
  • Multi-Value Key for a Dictionary more
  • A few things you can't do with EF queries which you won't find out until runtime more
  • Looking at EF Performance - some surprises 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