I want to have a dynamic where condition.
where
In the following example:
var opportunites = from opp in oppDC.Opportunities
The following questions and answers address this quite well:
Dynamic where clause in LINQ - with column names available at runtime Is there a pattern using Linq to dynamically create a filter?