10 2013 档案
摘要:1.分页var 分页 = (from c in ctx.Customers select c).Skip(10).Take(10);2.分组1)一般分组 //根据顾客的国家分组,查询顾客数大于5的国家名和顾客数var 一般分组 = from c in ctx.Customers group c by c.Country into g where g.Count() > 5 orderby g.Count() descending select new ...
阅读全文