This is a migrated thread and some comments may be shown as answers.

Best model ?

1 Answer 77 Views
Development (API, general questions)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Gerhard
Top achievements
Rank 2
Gerhard asked on 17 Apr 2009, 07:24 AM
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

1 Answer, 1 is accepted

Sort by
0
Zoran
Telerik team
answered on 21 Apr 2009, 03:40 PM
Hi Gerhard,

OpenAccess supports mapping interfaces. You can refer to our online documentation for further information on that topic.
Unfortunately queries that extract only those instances that implement a certain interface are not still supported. This could be a task for the future though. If you have any further requests.suggestions we would be glad if you share them with us.

Regards,
Zoran
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Development (API, general questions)
Asked by
Gerhard
Top achievements
Rank 2
Answers by
Zoran
Telerik team
Share this question
or