Language Integrated Query Article Index for
Language
Website Links For
Language
 

Information About

Language Integrated Query




LINQ defines ''standard query operators'' that allow code written in LINQ-enabled languages to filter, enumerate, and create projections of several types of collections, including arrays, enumerable classes, XML , datasets from Relational Database s, and third party data sources. The LINQ project uses features of version 2.0 of the .NET Framework , new query library assemblies, and extensions to the C# and Visual Basic .NET languages. Microsoft has distributed a preview release of LINQ, consisting of those libraries and compilers for C# 3.0 and Visual Basic.


LANGUAGE FEATURES

LINQ uses several new language features to expose query syntax natively to languages such as C#:
  • Anonymous types

  • Extension methods

  • Lambda Expression s

  • Expression trees

  • Standard query operators



DATA SOURCES

Although LINQ initially supports queries of in-memory collections and of relational databases and XML data, it is an extensible architecture that allows third-party providers of additional data sources to expose their data sources for use with LINQ by creating adapters for those data sources.


SEE ALSO