is it possible to dynamically generate such a predicate using LambdaExpressions
?
Expression> predicate = t =>
t
When you build an expression with nested lambda's the inner lambda's expressions will be able to access the outer lambda's parameters. It works the same way with Expression
If you are working with Expression
One thing to note: when you created the two original lambdas (via conversion to Expression