Hi,

I was wondering if anyone could point me in the right direction?

I have 2 entities, product and order. At the moment they are linked with a many to many relationship as an order will have many products, and products may be in more than one order. My issue is that when I link them I cannot link quantities. For example, I may want to order 10 of a product in an order. I figure I need to split out the relationships, so I need a third entity, for example orderItem, which has relationships to both the product and order entities, but also has a quantity attribute.

Am I right here?

Many Thanks,

Amy Gibbs
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to