Monday, August 18, 2014

LINQ - An intro to LINQ

LINQ stands for Language Integrated Query. LINQ is a microsoft technology which provides language level support to query any type of datastore (SQL server, XML documents, objects in memory like list of customers, list of orders, arrays, entities, dataset etc)

Suppose we are developing a .Net application which is fetching data from different datasources like SQL XML document, Memory objects etc,then we need to understand the technology and the syntax that is specific for the data source.(Suppose to retrieve data from SQL database we need to understand ADO.net and Transact SQL. To retrieve data from XML document, we need to understand how XPath and XSLT works. Similarly with Memory objects we need to understand how array and generics works.)


The different Types of LINQ:
LINQ to Objects
LINQ to XML
LINQ to DataSet
LINQ to SQL
LINQ to Entities

No comments:

Post a Comment