Dynamic query with OR conditions in Entity Framework

You’re probably looking for something like Predicate Builder which allows you to control the AND’s and OR’s of the where statement easier.

There’s also Dynamic Linq which allows you to submit the WHERE clause like a SQL string and it will parse it into the correct predicate for a WHERE.

Leave a Comment