- Getting Started (LINQ to SQL)
Provides an introduction and guide for using LINQ to SQL.
- What You Can Do With LINQ to SQL
Demonstrates key database operations in LINQ to SQL: selecting, inserting, updating, and deleting.
- How to: Query a Database by Using LINQ (Visual Basic)
Provides an example of how to connect to a SQL Server database and execute a query by using LINQ.
- How to: Call a Stored Procedure by Using LINQ (Visual Basic)
Provides an example of how to connect to a SQL Server database and call a stored procedure by using LINQ.
- How to: Modify Data in a Database by Using LINQ (Visual Basic)
Provides an example of how to connect to a SQL Server database and retrieve and modify data by using LINQ.
- How to: Sort a Collection by Using LINQ (Visual Basic)
Provides an example of how to order the results of a query by using LINQ.
- How to: Filter Query Results by Using LINQ (Visual Basic)
Provides an example of how to include search criteria in a query by using LINQ.
- How to: Count, Sum, or Average Data by Using LINQ (Visual Basic)
Provides examples of how to include aggregate functions to Count, Sum, or Average data returned from a query by using LINQ.
- How to: Find the Minimum or Maximum Value in a Query Result by Using LINQ (Visual Basic)
Provides examples of how to include aggregate functions to determine the minimum and maximum values of data returned from a query by using LINQ.
- How to: Return a LINQ Query Result as a Specific Type (Visual Basic)
Provides an example of how to return the results of a LINQ query as a specific type instead of as an anonymous type.
- The LINQ to SQL Object Model
Shows how an object model is mapped to the data model of a relational database.
- Typical Steps for Using LINQ to SQL
Lists the steps to follow in order to implement a LINQ to SQL application, with links to supporting information at each step.
- Walkthrough: Simple Object Model and Query (Visual Basic) (LINQ to SQL)
Shows how to create an entity class that models a table in a database, and how to execute a simple query.
- Walkthrough: Querying Across Relationships (Visual Basic) (LINQ to SQL)
Shows how to query across tables that have been mapped into a hierarchical object relationship.
- Walkthrough: Manipulating Data (Visual Basic) (LINQ to SQL)
Shows how to add, update, delete and modify data in a database.
- Walkthrough: Using Only Stored Procedures (Visual Basic) (LINQ to SQL)
Shows how to use stored procedures in LINQ to SQL.
- How to: Display Generated SQL (LINQ to SQL)
Shows how to display and view the SQL that is generated and issued to the database by the LINQ to SQL runtime.
- How to: Directly Execute SQL Queries (LINQ to SQL)
Shows how to issue raw SQL commands in place of a LINQ query.
- O/R Designer Overview
Provides an introduction to using the visual design tool for creating LINQ to SQL entity classes and associations that are based on objects in a database.
- How to: Add LINQ to SQL Classes to a Project (O/R Designer)
Shows how to use the Add New Item dialog box to add LINQ to SQL files to projects.
- How to: Create DataContext Methods Mapped to Stored Procedures and Functions (O/R Designer)
Shows how to add stored procedures to the O/R Designer as DataContext methods.
- Walkthrough: Creating LINQ to SQL Classes (O/R Designer)
Shows how to create entity classes that are based on objects in a database, and how to display the data on a Windows Form.