Re: Multiple relationships between two entities
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