LINQ to Entities Examples
This section provides LINQ to Entities programming examples that use the standard query operators. The AdventureWorks Sales Model (EDM) used in these examples is built from the Contact, Address, Product, SalesOrderHeader, and SalesOrderDetail tables in the AdventureWorks sample database.
In This Section
- Query Expression Syntax Examples (LINQ to Entities)
Provides LINQ to Entities example queries in query expression syntax.
- Method-Based Query Syntax Examples (LINQ to Entities)
Provides LINQ to Entities example queries in method-based query syntax.