Lambda Expression for “not in”?

后端 未结 1 719
闹比i
闹比i 2021-02-18 17:38

I have a detailcollection collection in which every detail has

code, price, name

And a string with some codes

stri         


        
相关标签:
1条回答
  • 2021-02-18 18:26

    Selected details collection items which ids are not in codesarray:

    detailcollection.Where (x=> !codesarray.Contains(x.ope_idsku))
    
    0 讨论(0)
提交回复
热议问题