摘要: The IQueryable and IQueryable(Of T) interfaces provide the functionality to evaluate queries for agiven data source. The IQueryable interface does this where the type of the data is not known, and the... 阅读全文
posted @ 2009-05-20 15:30 refeiner 阅读(333) 评论(0) 推荐(0) 编辑
摘要: An expression tree is a representation of language-level code in the form of data. The data is stored in atree-like structure, hence the name.Expression trees in LINQ are used for several reasons, one... 阅读全文
posted @ 2009-05-20 15:20 refeiner 阅读(211) 评论(0) 推荐(0) 编辑
摘要: The var keyword is new to C# 3.0 and enables you to implicitly declare variables at the method scope. The great thing about it is that the implicitly typed variable is just as strongly typed as its explicitly declared counterpart 阅读全文
posted @ 2009-05-20 15:12 refeiner 阅读(208) 评论(0) 推荐(0) 编辑
摘要: The last action of the LINQ query operations is query execution. Even though the query expression is defined and stored in a query variable when the query is created, the execution of the query does not typically take place until iteration over the query variable begins 阅读全文
posted @ 2009-05-20 14:27 refeiner 阅读(409) 评论(0) 推荐(0) 编辑