Murach's ADO.NET 4 Database Programming
with C# 2010
How to use LINQ
In this chapter, you'll learn to use LINQ, a feature that
allows you to query a data source using constructs that are
built into the C# language. This chapter focuses
on how to use LINQ to SQL to query databases...and shows you
the benefits of doing that instead of coding SQL commands.
|
|
|
|
Common LINQ query operators |
606 |
|
The three stages of a query operation |
608 |
|
|
How to identify the data source
for a query |
610 |
|
How to filter and sort the results
of a query |
612 |
|
How to select fields from a query |
614 |
|
How to assign an alias to the
result of a calculation |
616 |
|
How to join data from two or more
data sources |
618 |
|
How to group query results |
620 |
|
|
The basic components of an object
model |
622 |
|
How to start a new object model |
624 |
|
How to create entity classes |
624 |
|
How to retrieve data from a single
table |
626 |
|
How to query across relationships |
628 |
|
|
How to create an object data source
from an entity class |
630 |
|
How to bind controls |
632 |
|
|
The user interface |
634 |
|
The object model |
634 |
|
The code for the Vendor Invoices
form |
636 |
|
|
|
|
|
|
© Copyright 1998-
Mike Murach
& Associates, Inc. All rights reserved.
|