• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to add an managedObject to an arrayController and inherit from a superentity ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >How to add an managedObject to an arrayController and inherit from a superentity ? (From: Baron Stephane <email@hidden>)

  • Prev by Date: Re: NSFileManager movePath problem
  • Next by Date: Re: KVO, design and documentaion
  • Previous by thread: How to add an managedObject to an arrayController and inherit from a superentity ?
  • Next by thread: Re: How to add an managedObject to an arrayController and inherit from a superentity ?
  • Index(es):
    • Date
    • Thread