Don*_*uan 2 c# linq list where linq-group
我需要过滤此列表. 我只想让那些拥有相同SalId的人必须至少有两个人.
我该怎么做?
Tim*_*ter 8
var dupSalIdPersons = persons .GroupBy(p => p.SalId) .Where(g => g.Count() >= 2) .SelectMany(g => g);
归档时间:
12 年,3 月 前
查看次数:
1509 次
最近记录:
8 年,10 月 前