This documentation is archived and is not being maintained.

Aggregate Queries (LINQ to SQL)

LINQ to SQL supports the Average, Count, Max, Min, and Sum aggregate operators. Note the following characteristics of aggregate operators in LINQ to SQL:

The examples in the following topics derive from the Northwind sample database. For more information, see Downloading Sample Databases (LINQ to SQL).

Query Examples (LINQ to SQL)

Provides links to LINQ to SQL queries in Visual Basic and C#.

Query Concepts in LINQ to SQL

Provides links to topics that explain concepts for designing LINQ queries in LINQ to SQL.

Introduction to LINQ Queries (C#)

Explains how queries work in LINQ.