2013年1月7日

linq 查询

摘要: linq 分组查询:var qs = CC_.GroupBy(x => new { x.customer_name,x.sales_account,x.customer_code }).Where(Items=>Items.Key.sales_account==sales);linq 拼接:var q = from n in CC_ select n; if (keys=="none"&& keys1=="") { q = q.Where(p => p.sales_account==sales); }... 阅读全文

posted @ 2013-01-07 13:08 淡定的无奈 阅读(221) 评论(0) 推荐(0) 编辑

导航