Lina Group

var query = from ll in proListRequestList group ll by new {ll.pro_id} into g select new ProListRequest { pro_id = g.Key.pro_id, number = g.Sum(x => x.number), level=level };

转载于:https://www.cnblogs.com/davidgu/p/3989236.html

评论将由博主筛选后显示,对所有人可见 | 还能输入1000个字符 “速评一下”
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页