iqueryable lambda表达式
1、groupby
1、group by
var newLaborDtos = laborDtos.GroupBy(s => new { s.FinancingAmount, s.CompanyNo, s.FinancingChannels, s.CompanyName, s.FinancingPurpose })
.Select(p => new CompanyFinancialDemandModel
{
Id = 0,
FinancingAmount = p.Key.FinancingAmount,
CompanyNo = p.Key.CompanyNo,
FinancingChannels = p.Key.FinancingChannels,
CompanyName = p.Key.CompanyName,
FinancingPurpose = p.Key.FinancingPurpose
});