This question is locked. New answers and comments are not allowed.
I have a master - detail relationship (folders with items) and have defined the inverse list of details in the master object in the mapping editor. So I get all the detail objects when I read a master object with a deep fetch and the detail objects have their references set by the ORM, too.
Now I want to filter the details depending on the user's role on the server before they are sent to the client over the wire. The details collection of the master object should just contain those items which meet a condition.
How can I achieve this? Can I do this in one query? How would a LINQ query look like?
(I'm working with the 2009.1 version.)
Thank you
Rupert