United States   Change   |   All Microsoft Sites

Home

LINQ

Query your data

LINQ is an exciting evolution in data programming that enables developers to build queries over data directly from within any .NET-based programming language. LINQ to Entities, LINQ to DataSet, LINQ to SQL, and LINQ to XML are key implementations of this powerful technology.
  • Simplicity

    Simplify your data access code, and enhance the maintainability of your applications using LINQ. Express traversal, filter, and projection operations declaratively, using any .NET-based programming language with the LINQ set of general purpose query operators.

  • Productivity

    Increase productivity, and reduce runtime errors in your applications by using strongly typed objects instead of embedded SQL query syntax.

  • Flexibility

    Access data in a wide range of data stores while using consistent LINQ syntax. Easily adapt to the needs of a particular application scenario by taking advantage of several data source–specific implementations of LINQ to query various types of data.

Top New Features

  • Write queries against in-memory collections and other queryable sources in any .NET language, using LINQ.

  • Write data access code directly against a Microsoft SQL Server database, using LINQ to SQL.

  • Write data access code for XML data, using LINQ to XML.

  • Write common data access code across different data providers and storage schemas, using LINQ to Entities.

  • Write rich queries against data in a Microsoft DataSet, using LINQ to DataSet.

Highlighted Capability

Simple LINQ Query

Developer Productivity: Simple, Strongly-typed query using LINQ to Entities

Predictive Analysis

Click image to see larger view