| LINQ (Language Integrated Query) is one of the component of .NET 3.5 that comes with 3.5 version. It serves the purpose of querying objects.LINQ comprises a series of operators, which are used to query, filter and project data in arrays, enumerable classes, relational databases and XML. In order to query data, the data needs to be encapsulated as an object. In case the data source is not an object, it first needs to be converted to an object in order for LINQ to query it.
LINQ may query any type of data source, like:
(1)LINQ querying SQL (MS SQL Server supported).
(2)LINQ querying Datasets (Querying is possible on Datasets and DataTables)
(3)LINQ querying ORM Solution
(4)LINQ querying Objects (In-memory data may be queried)
(5)LINQ querying XML (Querying is possible on XML data source)
(6)LINQ supports querying to those objects that implement the IEnumerable Interface. | | |