之前的文章中,我透过简单的代码,向大家展现了 Visual Basic 9 中 Linq 激动人心的新特性。而这一篇随笔,则将以更复杂的示例,展示 Linq 的灵活性与扩展性,以至于探索 Linq 的工作原理与进阶应用。 Linq 的不足 .Net Framework 3.5 Beta 1 中,LINQ 的应用还存在一定限制 ...
Aggregate是一个可以从一个数据集合中获取标量值的函数,比如T-SQL中的Min()、Max()和Sum()等。现在VB和C#也都对这种聚合的功能给于了支持,但是是以一种非常不同的方式。 从这儿可以看到,VB和C#的版本几乎是一样的。但VB还为聚合专门提供了一个LINQ语法 ...
A monthly overview of things you need to know as an architect or aspiring architect.
When you want to find all the objects that are missing a corresponding object, then you need the LINQ equivalent of an outer join. Here, step by painful step, is how to build that query. Here's a ...
Microsoft software architect Erik Meijer dreams of a "democratized" Web in which programming in the cloud is accessible to the masses. But he also has a recurring nightmare: "What happens if [chief ...