Assembly
Meaning in Life
System.Core.dll
Defines the types that represent the core LINQ API. This
is the one assembly you must have access to.
System.Data.Linq.dll
Provides functionality for using LINQ with relational
databases (LINQ to SQL).
System.Data.DataSetExtensions.dll
Defines a handful of types to integrate ADO.NET types
into the LINQ programming paradigm (LINQ to DataSet).
System.Xml.Linq.dll
Provides functionality for using LINQ with XML
document data (LINQ to XML).
When you wish to do any sort of LINQ programming, you will at the very least need to import
the System.Linq namespace (defined within System.Core.dll), which is typically accounted for by
new Visual Studio 2008 project files; for example, here is the starting code for a new .NET 3.5 Con-
sole Application project:
C H A P T E R 1 4
■
A N I N T R O D U C T I O N TO L I N Q
449
8849CH14.qxd 9/26/07 12:30 PM Page 449
using System;
using System.Collections.Generic;
Do'stlaringiz bilan baham: |