Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Coredata schema question.



Hi Everyone,

I am getting back into my project as I was waiting for CD to be released.   I am trying to come up with a good schema, I am use to SQL schema for web apps, but I am not sure how to handle certain aspects with CD.   First off, this link is an image of what I have so far for my schema.

http://www.vmdi.net/images/PhotoBox/coredata.gif

My first question.  I have a Categories Entity.  I want to be able to have categories that are children of categories.  I am not sure how to build a relationship for this.  Suggestions on how to do it, and explanations on why you would do it that way would greatly appreciated.

I want to be able to link Photographs to Albums, and want to be able to put the same image in multiple Albums.  I had thought maybe another Entity between Albums and Photographs, but I am not sure if that would work the way I would expect it too.   Suggestions on how to do it, and explanations on why you would do it that way would greatly appreciated.

Thanks,
James
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.