This documentation is archived and is not being maintained.

Programming Guide (LINQ to SQL)

This section contains information about how to create and use your LINQ to SQL object model. If you are using Visual Studio, you can also use the Object Relational Designer to perform many of these same tasks. Object Relational Designer (O/R Designer)
Object Relational Designer (O/R Designer)

You can also search the MSDN Library for specific issues, and you can participate in the LINQ Forum, where you can discuss more complex topics in detail with experts. Finally, the LINQ to SQL: .NET Language-Integrated Query for Relational Data white paper details LINQ to SQL technology, complete with Visual Basic and C# code examples.

Creating the Object Model (LINQ to SQL)

Describes how to generate an object model.

Communicating with the Database (LINQ to SQL)

Describes how to use a DataContext object as a conduit to the database.

Querying the Database (LINQ to SQL)

Describes how to execute queries in LINQ to SQL, and provides many examples.

Making and Submitting Data Changes (LINQ to SQL)

Describes how change data in the database.

Debugging Support (LINQ to SQL)

Describes the support available for debugging LINQ to SQL projects.

Background Information (LINQ to SQL)

Includes additional items, such as concurrency conflict resolution, creating new databases, and more, for more advanced users.


Provides links to topics that explain the LINQ to SQL technology and demonstrate features.

Stored Procedures (LINQ to SQL)

Includes links to topics that illustrate how to use stored procedures.

Introduction to LINQ

Provides resources to help you begin to learn about LINQ to SQL.