• 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: Core Data and ordered to-many relations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data and ordered to-many relations


  • Subject: Re: Core Data and ordered to-many relations
  • From: Jerry Krinock <email@hidden>
  • Date: Sun, 24 May 2009 18:59:48 -0700

If there's only two relatives, as in your example, use two to-one relationships.

If there's an indeterminate number, you can add an intermediate "joiner" entity, as explained here:

http://www.cocoabuilder.com/archive/message/cocoa/2007/9/16/189293

The above joins between two different entities, so you'll modify it to join the same entity. All data modelling situations are a little different.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


  • Follow-Ups:
    • Re: Core Data and ordered to-many relations
      • From: email@hidden
References: 
 >Core Data and ordered to-many relations (From: Kelvin Chung <email@hidden>)

  • Prev by Date: Emulating Carbon menu bevel button?
  • Next by Date: Positioning images in buttons?
  • Previous by thread: Core Data and ordered to-many relations
  • Next by thread: Re: Core Data and ordered to-many relations
  • Index(es):
    • Date
    • Thread