Chapter 10. The Linq-to-SQL Programming Model

Linq-to-SQL is an Object/Relational (O/R) mapping implementation that allows developers and architects to model a relational database using .NET classes. At the top of the Linq-to-SQL layer, the code recognizes and operates on classes according to an object-oriented model; at the other end, operations on classes are translated to commands for Create|Read|Update|Delete (CRUD) statements that modify the underlying database through a regular connection.

Essentially, Linq-to-SQL maps classes and methods to database objects, including tables, relationships, views, transactions, stored procedures and user-defined functions. Based on a set of .NET classes that mirror the domain model, the Linq-to-SQL implementation ...

Get Programming Microsoft® ASP.NET 3.5 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.