Database Reference
In-Depth Information
Architecture of LINQ
LINQ consists of three major components:
•
LINQ to Objects
•
LINQ to ADO.NET, which includes
•
LINQ to SQL (formerly called DLinq)
•
LINQ to DataSets (formerly called LINQ over DataSets)
•
LINQ to Entities
•
LINQ to XML (formerly called XLinq)
Figure 18-1 depicts the LINQ architecture, which clearly shows the various components of LINQ and
their related data stores.
Figure 18-1.
LINQ architecture
LINQ to Objects deals with in-memory data. Any class that implements the
IEnumerable<T>
interface
(in the
System.Collections.Generic
namespace) can be queried with Standard Query Operators (SQOs).