Introducing LINQ to SQL

LINQ to SQL is an object relational mapping engine for Microsoft SQL Server relational databases. In the previous version of the .NET Framework it was the first built-in LINQ provider for SQL Server offering not only the capability of querying data (as instead it is for LINQ to DataSets) but also a complete infrastructure for manipulating data, including connections, queries, and CRUD (Create/Read/Update/Delete) operations. LINQ to SQL is effectively another layer in the data access architecture, but it is responsible for everything starting from opening the connection until closing. One of the advantages from LINQ to SQL is that you will basically query your data using the usual LINQ syntax thanks to the unified programming ...

Get Visual Basic® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.