Chapter 19. Using LINQ to Entities

After completing this chapter, you will be able to:

  • Create LINQ queries that access content from an Entity Framework data model

  • Call database-level functions from LINQ queries

  • Understand how LINQ treats entities differently from other data sources

The Entity Framework (EF) is a model-based interface between your application and an external database. As discussed earlier in this book, the Framework presents logical, database-centric data content in a conceptual form expressed through object instances. This focus on objects makes the Entity Framework a great match for LINQ.

The LINQ to Entities provider brings the world of entities and LINQ queries together. This chapter introduces this EF-centric LINQ provider, a system ...

Get Microsoft® ADO.NET 4 Step by Step now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.