Friday, November 18, 2011

Why do we need LINQ?

LINQ: Language Integrated Query.

Queries are the one which retrieve data from a data source, SQL can be a data source or XML can be another data source.
SQL is the query type used to retrieve database data type from a database source.
Xquery is another type to retrieve xml data from xml data source.

So we developers have to learn different query types for each data formats,LINQ simplifies this situation by offering a consistent model for working with data across various kind of data format and data source.

In LINQ query you will be always working with 'Objects'. You use the same basic coding pattern to query data from XML,SQL,ADO.net ,.net collections etc..
                                                                                                                                       read more

No comments:

Post a Comment