Welcome to MSDN Blogs Sign in | Join | Help

View This Blog In

Language Integrated Query (LINQ)

Historically and industry-wide, programming and data have been two different islands. The development of data-enabled applications has presented developers with multiple challenges in the past decade.  Developers have been asked to master multiple languages to build enterprise scale data-enabled applications.  There are some key challenges primarily related to the semantic differences between the programming world and the data world.  I recently heard one of our RDs (Regional Directors) use a nice metaphor to describe the situation – “This is like using one language to order the drinks and another to order the main dinner”.

At PDC 2005, we are announcing a solution to the above problem for the .NET platform.  This solution is based on some innovative and ground-breaking work on programming languages, driven by Anders Hejlsberg in the division, and is called the Language Integrated Query (LINQ) project.  LINQ is an extensible set of language extensions currently available for Visual C# and Visual Basic.NET.  LINQ enables developers to query objects, databases and XML using a unified programming model because LINQ makes data transforms and queries first class NET citizens.

I strongly believe LINQ will significantly enhance developer productivity, which has been a key goal with every new version of Visual Studio.  We are releasing a preview version of the technology at PDC 2005.

I would love to hear your feedback on this.

Namaste!

 

Posted: Tuesday, September 13, 2005 10:04 AM by Somasegar

Comments

Panopticon Central said:

# September 13, 2005 1:09 PM

wOOdy said:

Yes, Data is the main key feature of any application, and that's why Visual FoxPro did it right from the beginning with its seamlesss integration of data into the language. And it's really impressive to see, how VFP's "way of doing data" finally made his debut into NET. The only bad taste is that it needed so many years to get to that point, because of those some people who stil deny the existence of that great tool.
# September 13, 2005 2:04 PM

Steven said:

Great, were can we find more info and some beta downloads to start testing with this?
# September 13, 2005 4:10 PM

RedoBlog - The .NET Gentleman !!! said:

# September 13, 2005 6:12 PM

RedoBlog - The .NET Gentleman !!! said:

# September 13, 2005 6:15 PM

danielfe said:

# September 13, 2005 7:15 PM

Richard Reukema said:

Wow - could not believe how simplistic the interface is - so close to SQL that I had to shake my head. Will need to think hard about the Data Layer....and with the CLR in SQL..the business logic layer...I know it's early, but any early white papers on when/where to use this technology?

# September 13, 2005 7:57 PM

Barry Gervin's Software Architecture Perspectives said:

# September 14, 2005 11:51 AM

Barry Gervin's Software Architecture Perspectives said:

# September 14, 2005 12:45 PM

Gabe said:

This looks incredible. If you would have told me 10 years ago that VB would have lambda expressions, I would have died laughing!

I am concerned that I don't see any obvious way to do outer joins, though.
# September 14, 2005 2:47 PM

Erik Meijer said:

Hi Gabe,

Two remarks about outer joins: (a) since you can create hierarchical results, you can usually use a nested query instead of an outer join. (b) We are considering supporting outer join syntax in Visual Basic query comprehensions.

I am curious if and why you prefer the denormalized result of an outer join as opposed to a nested result set.

Hope this helps,

Erik Meijer
# September 14, 2005 8:48 PM

Daniel Moth said:

Blog link of the week 37
# September 18, 2005 5:59 PM

Panopticon Central said:

# May 8, 2006 3:28 PM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS


Page view tracker