Wednesday, January 03, 2007 1:26 PM
by
YAG
Great LINQ samples
Derek Slager has a post where he's calculating baseball stats using LINQ. As a baseball fan (Go A's) and a data guy, this was a lot of fun.
Here's one quick sample where he's calculating top winning pitchers:
from game in games
group game by game.WinningPitcher into g
orderby g.Count() descending
select g;
Comments
New Comments to this post are disabled
About YAG
Yair Alan Griver is the architect for the Microsoft.com community properties. As architect, he is responsible for creating a coherent underlying platform for properties that include blogs.msdn.com, forums.msdn.com, GotDotNet, chats and CodePlex. In addition to MSCOM architect, Alan is also responsible for the continued development of Visual FoxPro. Prior to the architect role, Alan was Group Manager for the Visual Studio Data group. As Group Manager, Alan’s teams produced the tools used inside of Visual Studio .NET, Office and SQL Server that surface data capabilities, as well as Visual FoxPro. Prior to this position, Alan was a Lead Program Manager and Community Evangelist for Visual Basic .NET, driving community interests into Visual Basic .NET. Before joining Microsoft, Alan was Chief Information Officer at GoAmerica, a publicly traded telecommunications (wireless internet) company, and co-founder and CIO of Flash Creative Management a business strategy and technology consulting company.
Alan is the author of five books on Visual FoxPro and Visual Basic, the creator of various development frameworks, and has developed database systems ranging into the thousands of users. He has spoken around the world on databases, object orientation and development team management issues, as well as XML and messaging-based applications.