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

Re: core data structure?


  • Subject: Re: core data structure?
  • From: Fritz Anderson <email@hidden>
  • Date: Fri, 6 Aug 2010 07:44:20 -0500

On 6 Aug 2010, at 7:20 AM, Amy Gibbs wrote:

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

Yes.

	— F

_______________________________________________

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

References: 
 >core data structure? (From: Amy Gibbs <email@hidden>)

  • Prev by Date: core data structure?
  • Next by Date: Re: UIActionSheet - Insert button at index?
  • Previous by thread: core data structure?
  • Next by thread: String Tables
  • Index(es):
    • Date
    • Thread