Let's say I have a query like:
r = r.Where(x => iEnumerableMachineNames.Contains(x.Machine.Name)
|| x.Server==true);
Is there a way to build the predicate (I think that's what it's called) outside of the statement, for instance
t = (x => iEnumerableMachineNames.Contains(x.Machine.Name));
s = (x => x.Server==true)
q = t.Or(s);
r = r.Where(x => q);
Basically I want to programmatically build my query based on input parameters, for EF 5.