阅读背景:

仅当其中一个字段是特定值时,LINQ才会对多个字段进行分组

来源:互联网 

I am trying to group a list by 2 fields (Category, then Vendor), but at different values. If the category is "01", sum all the cost. If the category is not "01", group by the category, and then by the vendor.I am trying to group a list by 2 fields (Catego




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: