I'd need to be able to combine 2 lambda expressions into 1:
This would serve me to create an extension to the type-safe includes (for EF).
Now you can do:
context.House
.Include(x => x.Doors.Doorknobs)
I'd like to be able to split up the above statement into different methods.
something like IncludeDoorKnobs(query, expressionFromRoot, expressionFromCurrentToChild)
Then I'd like to - Include the combined expression to the query - Include extra childs (from current) to that query - Call other similar methods, including another part of the tree.
My knowledge of Lambda's clearly comes short, and I'd really need to get into them soon, but for now, I have to resort tho SOF...