Skip to Main Content
Entity Framework 4 in Action
book

Entity Framework 4 in Action

by Stefano Mostarda, Daniele Bochicchio, Marco De Sanctis
May 2011
Intermediate to advanced content levelIntermediate to advanced
576 pages
19h 11m
English
Manning Publications
Content preview from Entity Framework 4 in Action

Chapter 4. Querying with LINQ to Entities

 

This chapter covers
  • Filtering with LINQ to Entities
  • Projecting with LINQ to Entities
  • Sorting and grouping with LINQ to Entities
  • Executing handcrafted SQL code
  • Choosing the fetching strategy

 

One of the most important features of Entity Framework is the LINQ to Entities query dialect. LINQ to Entities is a specialized version of LINQ that operates on Entity Framework models. LINQ to Entities isn’t a LINQ to SQL competitor—it’s the Entity Framework’s main query language, whereas LINQ to SQL is a full-featured O/RM that shipped with the .NET Framework v3.5.

In this chapter, we’ll begin by looking at how to filter data. Then we’ll cover projecting, grouping, sorting, joining, and querying within inheritance ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Professional ADO.NET 3.5 with LINQ and the Entity Framework

Professional ADO.NET 3.5 with LINQ and the Entity Framework

Roger Jennings
ASP.NET MVC 4 in Action

ASP.NET MVC 4 in Action

Matthew Hinze, Jeremy Skinner, Jeffrey Palermo, James Bogard, Eric Hexter
Entity Framework 6 Recipes, Second Edition

Entity Framework 6 Recipes, Second Edition

Brian Driscoll, Nitin Gupta, Rob Vettor, Zeeshan Hirani, Larry Tenny

Publisher Resources

ISBN: 9781935182184Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link