Hi all,
How would I go about using an Expression Tree to dynamically create a predicate that looks something like...
(p.Length== 5) && (p.SomeOtherProperty == "hello")
So that I can stick the predicate into a lambda expression like so...
q.Where(myDynamicExpression)...
I just need to be pointed in the right direction.
Thanks.
Edit: Sorry folks, I left out the fact that I want the predicate to have multiple conditions as above. Sorry for the confusion.