Summary

LINQ to SQL is a built-in object relational mapping engine for Microsoft SQL Server databases. The engine maps database information such as tables and columns into .NET objects such as classes and properties, enabling you to work in a disconnected fashion against an object model rather than against the database. Mapped classes are known as entities. Adding LINQ to SQL classes to your projects can provide the ability of using LINQ for both querying entities and performing CRUD operations via specific methods offered by the DataContext class. This is responsible for managing the connection and entities during an application’s lifetime, including keeping track of changes that can be submitted to the database in one shot. LINQ to SQL also ...

Get Visual Basic 2015 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.