• 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
Cora Data inverse relations and inherited entities
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cora Data inverse relations and inherited entities


  • Subject: Cora Data inverse relations and inherited entities
  • From: Remco Poelstra <email@hidden>
  • Date: Sun, 3 Sep 2006 22:32:42 +0200

Hi,

I'm trying to make a model for a flow-diagram kind of problem. I've three types of entities: choice, dir and file. They have some common properties like bounds (NSRect) and parent (relationship), so I made an abstract parent entity named Chart_element. When I make an relationship for, say, the choice entity I want the destination to be any kind of Chart_element (i.e. choice, file or dir), so I made it point to Chart_element. The problem now is: How do I define the inverse relation? Or how do I make otherwise a relation that can point to any of the three sub-entities?
I made an screenshot of the model I've so far: http://beryllium.net/ ~remco/core-data.png


Thanks in advance,

Remco Poelstra

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Newbie: Basic problem with NSTableview
  • Next by Date: Complicated NSSplitView question
  • Previous by thread: Re: Newbie: Basic problem with NSTableview
  • Next by thread: Complicated NSSplitView question
  • Index(es):
    • Date
    • Thread