Programming Guide

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.

You can also search Microsoft Docs 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.

In This Section

Creating the Object Model
Describes how to generate an object model.

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

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

Making and Submitting Data Changes
Describes how change data in the database.

Debugging Support
Describes the support available for debugging LINQ to SQL projects.

Background Information
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
Includes links to topics that illustrate how to use stored procedures.

Introduction to LINQ (C#)
Provides resources to help you begin to learn about LINQ to SQL using C#.

Introduction to LINQ (Visual Basic)
Provides resources to help you begin to learn about LINQ to SQL using Visual Basic.