Channel 9 has a video up of Anders Hejlsberg (distinguished engineer and chief architect on the C# team)
demo’ing LINQ. A big giant lightbulb went off in my head about halfway through the video, and like a good suspense movie I actually started to fill in the blanks a few seconds before Anders would answer a question, i.e. why the query statements are kind of backwards from the SQL paradigm we’re all used to (SQL being SELECT…FROM…WHERE and LINQ being more like FROM…WHERE…SELECT)…no spoilers in this post, watch the video (though if you are familiar with the way sets work it’s not that hard to surmize). LINQ will live in the System.Query namespace, and can be used on any type that implements IEnumerable<T> in the System.Generics namespace. The first thing we should all be thinking about is how this fits into the O/R space; more specifically how this will (seemingly) vastly simplify rolling an O/R framework. But even more importantly IMO, a single unified way to query objects for data regardless of backend implementation (frontend agnostic). Anywho, watch the demo…this is gonna be incredible.
Posted
Sep 20 2005, 06:21 PM
by
Jayson Knight