I have a method that returns an
When I use this as a predicate in a where clause in EF this works fine, until I try to add more items to the predicate with Expression.Or() I run into the following exception:
The parameter 'xxx' was not bound in the specified LINQ to Entities query expression.
Is there some way around this? What causes this exactly?