重视Linq技术_3
摘要:
Interpreted Queries//1、Simple LINQ to SQL Queryfrom c in Customerswhere c.Name.Contains ("a")orderby c.Name.Lengthselect c.Name.ToUpper()//2、Combining Interpreted and Local Queriesvoid Main(){//This uses a custom 'Pair' extension method, defined below.IEnumerable<string> q = 阅读全文
posted @ 2012-03-01 22:53 Sanic 阅读(152) 评论(0) 推荐(0) 编辑