Murach's ADO.NET 3.5, LINQ,
and the Entity Framework with VB 2008
How to use LINQ to SQL (part 1)
LINQ to SQL saves you time by letting you work with the data
in a 3-layer application using an object model instead of
creating business and database classes for that purpose. This
chapter gets you started with LINQ to SQL by showing you how
to create an object model and how to use it in retrieving
data from a SQL Server database.
|
|
|
|
How LINQ to SQL works |
416 |
|
The basic components of an object
model |
416 |
|
|
How to start a new object model |
418 |
|
How to create entity classes |
420 |
|
How to create data context methods
that retrieve data |
422 |
|
The code that’s generated for
an object model |
424 |
|
|
How to retrieve data from a single
table |
428 |
|
How to query across relationships |
430 |
|
How to load related objects |
432 |
|
How to retrieve data using data
context methods |
434 |
|
How to get information about the
SQL command for a query |
436 |
|
|
How to create an object data source
from an entity class |
438 |
|
How to bind controls |
440 |
|
|
The user interface |
442 |
|
The object model |
442 |
|
The code for the Vendor Invoices form |
444 |
|
|
|
|
|
|