开发者

IQueryable where iterating (this or this or this)

开发者 https://www.devze.com 2023-01-22 07:53 出处:网络
I have a dynamic list of values, which i want to query against an IQueryable with OR conditions. How would I foreach the val开发者_开发问答ues to \"OR\" them up against the IQueryable?you can make a

I have a dynamic list of values, which i want to query against an IQueryable with OR conditions.

How would I foreach the val开发者_开发问答ues to "OR" them up against the IQueryable?


you can make a List<T> and then use the .Contains() method which would replace your 'or' behaviour.

shed me some light on the code that you already have and I can write you something.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号