Multiple SUM using LINQ

后端 未结 5 2678
无人共我
无人共我 2021-02-20 18:14

I have a loop like the following, can I do the same using multiple SUM?

foreach (var detail in ArticleLedgerEntries.Where(pd => pd.LedgerEntryType == LedgerEn         


        
5条回答
  •  孤街浪徒
    2021-02-20 18:45

    Ok. I realize that there isn't an easy way to do this using LINQ. I'll take may foreach loop because I understood that it isn't so bad. Thanks to all of you

提交回复
热议问题