Chapters 10 through 13 cover LINQ to XML in much
greater detail.
LINQ to SQL Overview
LINQ to SQL, or DLINQ, is another component in the LINQ technology ??????utility belt.??™??™ It provides a
mechanism for managing relational data via a run-time infrastructure. The great thing about this is that
LINQ still keeps its strong points, such as the ability to query. This is accomplished by translating the
Language Integrated Query into SQL syntax for execution on the database server. Once the query has
been executed, the tabular results are handed back to the client in the form of objects that you as a
developer have defined.
If you have been following the LINQ talk, you already know that LINQ to SQL is the next version of
ADO.NET. This is great news, and by the time you are done with this section and the section on LINQ
to SQL later in the book, you will surely know why. LINQ takes advantage of the information produced
by the SQL schema and integrates this information directly into the CLR (Common Language Runtime)
metadata. Because of this integration, the definitions of the SQL tables and views are compiled into CLR
types, making them directly accessible from within your programming language.
Pages:
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55