IQueryable where iterating (this or this or this)
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.
精彩评论