.NET and LINQ – Language Integrated Query

Today, I bring to you a series of very interesting documents for .NET developers. This content comes with Visual Studio 2010 and provides great guidance to a lot of really interesting aspects of .NET programming. As a C# developer, I enjoy reading code and optimizing it when necessary. Here is a brief overview of the documents and links to download them.

The LINQ Project
By Don Box and Anders Hejlsberg, respectively Architect and Technical Fellow at Microsoft. Anders was the original author of Turbo Pascal at Borland and is currently the Chief Architect of the C# language at Microsoft.
[…]We use the term language integrated query to indicate that query is an integrated feature of the developer’s primary programming languages. Language integrated query allows query expressions to benefit from the rich metadata, compiletime syntax checking, static typing and IntelliSense that was previously available only to imperative code.

LINQ to SQL (By Dinesh Kulkarni, Luca Bolognese, Matt Warren, Anders Hejlsberg, Kit George from Microsoft. )
LINQ to SQL, a component of Visual Studio Code Name “Orcas”, provides a run-time infrastructure for managing relational data as objects without giving up the ability to query. It does this by translating language-integrated queries into SQL for execution by the database and then translating the tabular results back into objects you define. Your application is then free to manipulate the objects while LINQ to SQL stays in the background tracking your changes automatically.

There are two major perspectives for thinking about and understanding LINQ to XML. From one perspective you can think of LINQ to XML as a member of the LINQ Project family of technologies with LINQ to XML providing an XML Language Integrated Query capability along with a consistent query experience for objects, relational database (LINQ to SQL, LINQ to DataSet, LINQ to Entities), and other data access technologies as they become LINQ-enabled. From a another perspective you can think of LINQ to XML as a full feature in memory XML programming API comparable to a modernized, redesigned Document Object Model (DOM) XML Programming API plus a few key features from XPath and XSLT.

Standard Query Operators (By Anders Hejlsberg , Mads Torgersen from Microsoft.)
The Standard Query Operators is an API that enables querying of any .NET array or collection. The Standard Query Operators API consists of the methods declared in the System.Query.Enumerable static class in the assembly named System.Core.dll.

Quote of the post
Completely eradicate the word impossible from your vernacular! You don’t need it and it has never done anything good for you.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s