A quick look at the LINQ Architecture
.gif)
LINQ is a new feature in Visual Studio 2008, extending the capabilities of C# and VB. We can use Language Integrated Query in querying collections, objects, xml and entities. For as long as an object derives from IEnumerable it can be queried using LINQ, LINQ can be used in the following ways. LINQ to SQL LINQ to XML LINQ to Object LINQ to Entities What does LINQ do? In LINQ to SQL it converts objects queries to SQL Command and when it receives the resultset from the database it then converts it back to objects. Below is an illustration of the LINQ Architecture.