Chapter 8. LINQ to Entities: Modeling Data with Entity Framework

LINQ to Entities is the official Microsoft Language Integrated Query (LINQ) engine for querying Microsoft ADO.NET Entity Framework models. This chapter covers the main capabilities and features offered by the ADO.NET Entity Data Model Designer available in Microsoft Visual Studio 2010.

The Entity Data Model

The first and most important step in developing a solution based on the Entity Framework is creating the Entity Data Model (EDM) itself. To achieve this goal, you have two options in Visual Studio 2010:

  • Start from an existing database schema.

  • Start from scratch (an empty model) and generate the resulting database schema.

Both solutions have pros and cons, and this section covers them ...

Get Programming Microsoft® LINQ in Microsoft .NET Framework 4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.