• 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: Multiple relationships between two entities
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple relationships between two entities


  • Subject: Re: Multiple relationships between two entities
  • From: Rob Keniger <email@hidden>
  • Date: Tue, 13 Oct 2009 16:36:07 +1000

On 13/10/2009, at 4:29 PM, Matthew Lindfield Seager wrote:

> Inverse of what?
>
> So Item A has link 1 as it's normal link and link 2 as it's alternate
> link but then what if link 2 is also the normal link for item B.

This won't ever actually happen, the link objects aren't shared between items. I'm only worried about the inverse relationship because Core Data really, really doesn't like one-way relationships.

Kiran Kumar's suggestion of storing the link type in the Link entity and then setting up a "links" relationship in the Item object will probably work just fine for me I think.

--
Rob Keniger



_______________________________________________

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

References: 
 >Multiple relationships between two entities (From: Rob Keniger <email@hidden>)
 >Re: Multiple relationships between two entities (From: Matthew Lindfield Seager <email@hidden>)

  • Prev by Date: Re: Multiple relationships between two entities
  • Next by Date: NSXML and XQuery
  • Previous by thread: Re: Multiple relationships between two entities
  • Next by thread: NSXML and XQuery
  • Index(es):
    • Date
    • Thread