Sunday, August 26, 2007

Introduction to LINQ (Language Integrated Query)

What is LINQ?

LINQ is a new feature to be released as a language enhancement in VB 9.0 and C# 3.0. it is an Object relational mapper which enables an unified approach to query databases, XML files and text files.
LINQ bridge between data domain (Database and XML Files) and programming domain (Objects). it brings together the power of SQL or Query language into the programming languages like C# 3.0 and VB 9.0.

Different flavors of LINQ exists and they are

LINQ to SQL
LINQ to XML
LINQ to XSD (a wrapper around LINQ to XML)
LINQ to Dataset
PLINQ (for Parallel processing)
LINQ to Objects
LINQ to Entities (Included in ADO.NET VNext)

LINQ is not a compiler feature its a language feature any one can extend LINQ and customize them, Some of them are

LINQ to Sharepoint (Can be found in CODEPLEX open source community)
LINQ to Active directory

No comments: