I\'m very low experienced with Expressions in .NET, that\'s why I rather ask you guys. How should I - see comment below:
Expressions
using P = Myclass; .. S
Its a combination of two Func on expression level.
Func
A less fancy way to do the same should be:
Func myExpression1 = x => foo1 == true && foo2 == false; Func myExpression2 = x => ... ; IQueryable l = l.Where((p) => myExpression1(p) || myExpression2(p));
myExpression1 = x => foo1 == true && foo2 == false; Func
myExpression2 = x => ... ; IQueryable
l = l.Where((p) => myExpression1(p) || myExpression2(p));