Thursday, September 15, 2005

Project LINQ

Native 'data engine' in .NET?
Yag blogged
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.

Dim SmallCountries = Select Country _
From Country In Countries _
Where Country.Population < 1000000


This VB9 syntax look like SQL statement, and look similar as what we are doing now in VFP. I like it! However, C# is abit un-readable for me. Why? Is C developer using special way to read code?

0 Comments:

Post a Comment

<< Home