This question is locked. New answers and comments are not allowed.
Hi,
I have three possible types to be listed. A member could be A, AB or B, no its not a 'bloody problem. I also want to use the feature of managed collections.
If I use inheritance, I can't model the relations correct, but managed collections working fine,
Now I am thinking about interfaces, If I define the interfaces IA, and IB, I can have classes, implementing one of these or both. But whats about managed collections and whats about myScope.Extent(of ...)?
How can I get lists of all IA implementors, IB implementors and IA and IB implementors? Or how can I get a list of all instances implementing IA and IB and no one which implements only one interface?
Did anybody solve such a problem?
Thanks for helping.
Gerhard
I have three possible types to be listed. A member could be A, AB or B, no its not a 'bloody problem. I also want to use the feature of managed collections.
If I use inheritance, I can't model the relations correct, but managed collections working fine,
Now I am thinking about interfaces, If I define the interfaces IA, and IB, I can have classes, implementing one of these or both. But whats about managed collections and whats about myScope.Extent(of ...)?
How can I get lists of all IA implementors, IB implementors and IA and IB implementors? Or how can I get a list of all instances implementing IA and IB and no one which implements only one interface?
Did anybody solve such a problem?
Thanks for helping.
Gerhard