摘要: 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 ... 阅读全文
posted @ 2013-10-16 10:37 混迹 阅读(323) 评论(0) 推荐(0) 编辑