Paul Knopf
Paul Knopf

Reputation: 9786

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 values to "OR" them up against the IQueryable?

Upvotes: 0

Views: 259

Answers (1)

Stefanvds
Stefanvds

Reputation: 5916

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.

Upvotes: 2

Related Questions