摘要: 1 from 子句一个linq表达式,必须是以from子句开头。var value=from v in values where v.indexof("it")>-1 select v2复合from子句(多重嵌套查询:便于自己理解)var query=from a in aafrom b in a.b where b.indexof("2")>-1 select a3多个from子句(结果交叉链接)var query=from a in aa where a.age>20from b in bb where b.age>17 se 阅读全文
posted @ 2012-08-23 22:17 小汪哥写代码 阅读(186) 评论(0) 推荐(0) 编辑