Well, the hints have been going out for a while now, and finally we can talk about this thing we've been working on for so long. At the PDC opening keynote today, we unveiled a number of things including Project LINQ. The Language Integrated Query framework (the LINQ Project) is a set of language extensions to C# and VB and a unified programming model that extends the .NET Framework to offer integrated querying for objects, databases and XML. Basically, instead of writing your queries in strings, you can now do them directly in the language of your choice.
Let's take a look at a simple code sample. Let's say there's a collection of Country objects called Countries. You can now get all countries with a population ofless than 1 million with a SQL-like syntax
Dim SmallCountries = Select Country _
From Country In Countries _
Where Country.Population < 1000000
The great thing about this is that it works over database data, XML or objects (anything that is IEnumerable). So, for those of you used to, for instance, Fox - though the syntax is familiar, the capabilities are much further reaching in your daily programming.
There will be a lot of blog posts by members of the C#, VB and various data teams all about this. Also, starting on Wednesday (depending on MSDN scheduling) there will be bits that can be downloaded to test this out. I'll be modifying this entry through the course of the day (or, more likely, night) to point to other blog entries on this topic.
Boy it's nice to be able to show this publicly now!