• 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
core data structure?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

core data structure?


  • Subject: core data structure?
  • From: Amy Gibbs <email@hidden>
  • Date: Fri, 6 Aug 2010 13:20:08 +0100

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 (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


  • Follow-Ups:
    • Re: core data structure?
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: MKMapView
  • Next by Date: Re: core data structure?
  • Previous by thread: Re: UIActionSheet - Insert button at index?
  • Next by thread: Re: core data structure?
  • Index(es):
    • Date
    • Thread