Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 04-07-2011, 11:52 PM   #1 (permalink)
Registered Member
 
Join Date: Nov 2009
Posts: 21
Apocryphon is on a distinguished road
Default Handling many-to-many relationships in Core Data

Hey all,

I currently have this schema:

Company <->> Catalog <<->> Product

That's right, Catalog and Product have many-to-many relationships with each other. Right now I only have these three entities, as it seems like a fourth join entity is unnecessary according to the documentation. Is that correct? Are these all the entities I need, or should I create a "join" entity to mode the joins between Catalog and Product?
Apocryphon is offline   Reply With Quote
Old 06-24-2011, 04:46 PM   #2 (permalink)
Registered Member
 
Join Date: Apr 2010
Posts: 3
pygmybutcher is on a distinguished road
Default

Unless I have misunderstood your question, the answer is: no, you don't need another entity to manage the relationships.
pygmybutcher is offline   Reply With Quote
Reply

Bookmarks

Tags
core data, many to many relationship, parsing, xml

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 362
13 members and 349 guests
dansparrow, dre, ilmman, LezB44, michelle, Nobbsy, Objective Zero, samdanielblr, Sami Gh, shagor012, sledzeppelin, thephotographer, tinamm64
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,663
Threads: 94,119
Posts: 402,896
Top Poster: BrianSlick (7,990)
Welcome to our newest member, LezB44
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:41 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0