Re: How to add an managedObject to an arrayController and inherit from a superentity ?
Re: How to add an managedObject to an arrayController and inherit from a superentity ?
- Subject: Re: How to add an managedObject to an arrayController and inherit from a superentity ?
- From: Henrik Nyh <email@hidden>
- Date: Sat, 27 Jan 2007 21:26:07 +0100
Baron Stephane wrote:
> Hello,
>
> In my app i have 3 entities:
>
> Case
> Person
> PersonByCase
>
> PersonByCase is a subentity of Person as i want to be able to add the
> same Person in different Cases but for each Case i will have to enter
> values relatives to each case for each person (as for example a
> reference value)
> (snip)
Not a direct answer to your question, but: perhaps it'd be easier to use
composition rather than inheritance? So rather than subentities, have
two entities where Person has a one-to-many relationship to PersonByCase.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden