Method-Based Query Syntax Examples (LINQ to Entities)
This section provides LINQ to Entities programming examples in method-based query syntax that use the standard query operators. The AdventureWorks Sales Model used in these examples is built from the Contact, Address, Product, SalesOrderHeader, and SalesOrderDetail tables in the AdventureWorks sample database.
In This Section
Method-Based Query Syntax Examples: Projection (LINQ to Entities)
Method-Based Query Syntax Examples: Restriction (LINQ to Entities)
Method-Based Query Syntax Examples: Ordering (LINQ to Entities)
Method-Based Query Syntax Examples: Aggregate Operators (LINQ to Entities)
Method-Based Query Syntax Examples: Partitioning (LINQ to Entities)
Method-Based Query Syntax Examples: Conversion (LINQ to Entities)
Method-Based Query Syntax Examples: Join Operators (LINQ to Entities)
Method-Based Query Syntax Examples: Element Operators (LINQ to Entities)
Method-Based Query Syntax Examples: Grouping (LINQ to Entities)
Method-Based Query Syntax Examples: Navigating Relationships (LINQ to Entities)
See Also
Concepts
Query Expression Syntax Examples (LINQ to Entities)
LINQ to Entities Examples