Using subclasses. Map IArticleCatalogItem as the class, then each
implementation as a subclass.

On Fri, Jun 5, 2009 at 9:22 AM, Niclas Pehrsson <[email protected]> wrote:

>
> Hi Im wondering if this is possible
>
> I have two entities Article and ArticleCategory both implements from
> IArticleCatalogItem
>
> Now I want ArticleCategory to have an collection with
> IArticleCatalogItem.
>
> ArticleCategory has an Add(IArticleCatalogItem item), which sets
> parent and child relations. But how shall I map my two entities and
> the one-to-many relation and Parent relation in ArticleCategory?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to