Interested in LINQ?

I'm sure you've heard about LINQ, but just in case you haven't, it stands for Language Integrated Query.  I just finished a 60-page overview of LINQ, which is available as a PDF from O'Reilly:

http://www.oreilly.com/catalog/language1/?CMP=ILC-2RQ886833906&ATT=language1

The PDF represents the first in a 3-part series on LINQ; part 2 will focus specifically on LINQ for SQL, and part 3 will focus on LINQ for XML. Along with the PDFs I'll be presenting a series of MSDN webcasts on LINQ; I'll let you know when the live presentation dates become official. 

LINQ offers SQL-like query support in C# and VB, allowing you to write queries --- against objects, XML documents, relational databases, and more --- with IntelliSense and strict type-checking.  For example, given a set of Doctor objects, here's a query to select all the doctors living in Chicago:

var chicago = from d in doctors where d.City == “Chicago“ select d;

There's a CTP (May 2006) you can download in order to play with LINQ [1]. The technology is slated to appear sometime in 2007 with the 3.next release of .NET (i.e. the release to *follow* the upcoming 3.0 release). It's very interesting technology, I encourge you to learn about LINQ if you haven't already. Cheers!

[1] http://msdn.microsoft.com/data/ref/linq/

Posted Nov 03 2006, 07:51 PM by joe-hummel

Comments

Steve Strong wrote re: Interested in LINQ?
on 11-07-2006 1:43 AM
Hi Joe,

PDF looks good, but is there any chance of getting access to a zip of the source / databases etc?

Cheers, Steve
Joe Hummel wrote re: Interested in LINQ?
on 11-08-2006 5:41 AM
Absolutely, I'm just a bonehead and forgot to post the code. Let me clean things up a bit today (Wednesday 11/8), and I'll post the .zip tonight. Thanks for nudging me along :-)
Joe Hummel wrote re: Interested in LINQ?
on 11-08-2006 9:15 PM
The source code to accompany the Part 1 LINQ overview PDF is now available here:

http://pluralsight.com/drjoe/downloads/downloads.aspx

Cheers!
Pradeep Chellappan wrote re: Interested in LINQ?
on 03-21-2007 4:09 PM
The document is well written Joe. It is a great overview of LINQ. You should write a more indepth book on LINQ in the same style.
Thomas wrote re: Interested in LINQ?
on 05-10-2007 9:26 AM
Hi Joe,

What is the status on part2?

Add a Comment

(required)  
(optional)
(required)  
Remember Me?