Based on my question from yesterday:
if I had to append to my existing \'where\' expression, how would i append?
Expression
Or something to add to Josh (Put it in my bag of tricks):
public static IQueryable ObjectFilter(this TSource SearchObject, List> andCriteria, List> orCriteria) where TSource : IQueryable
{
//Yeah :)
Expression> ObjectWhere = O => andCriteria.All(pred => pred(O)) && orCriteria.Any(pred => pred(O));
return SearchObject.Where(ObjectWhere);
}