If you change (or overload) your WithNames and WithGroups to return Expression.
If you change (or overload) your WithNames and WithGroups to return Expression> instead of IQueryable (and similarly for Users, then you can use both of them inside calls to Where. As you've discovered, L2E won't parse (this would essentially require decompiling it) a method, but it can handle an Expression.
Thanks, this works, but doesn't fit into my current repository structure, because it should be some sort of chainig WithXY methods which return IQueryable. But i'm checking a solution which is working with a criteria object. So one writes a query like this: repo.
GetUsers(c => c. WithGroup("Administrators")).ToList() The Cirteria object chains expressions, so I think your solution fit's in there. – Claus Trojahn Jan 12 '10 at 8:45.
Var inner = PredicateBuilder. Inner = inner. And(u => u.Groups.AsQueryable().AsExpandable().
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.