04 2016 档案

LINQ 客户端生成自增列
摘要:var testQuery = (from item in TestInfo.GroupBy(t=>t.TestName) select new { TestCode = item.Min(g=>g.Code), TestName = item.Key }).OrderBy(t=>t.TestName).AsEnumerable(... 阅读全文

posted @ 2016-04-26 16:27 空明流光 阅读(1674) 评论(0) 推荐(0) 编辑

导航