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
posted @ 2016-04-26 16:27