• 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: Bi-directional One-to-one relationship
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bi-directional One-to-one relationship


  • Subject: Re: Bi-directional One-to-one relationship
  • From: Drew Thoeni <email@hidden>
  • Date: Sat, 16 Apr 2005 08:07:16 -0400

If you are talking about setting up a o-o relationship, then yes EOmodeler will do this. Create the two tables, ctrl-drag from the primary key in one to the PK in the other and in the resulting window, click "to one".

I suspect you are, though, asking a more complex question. If you are, perhaps you can clarify with an example.

Drew

On Apr 16, 2005, at 8:01 AM, Des Oates wrote:

Does anyone know if EO Modeler supports a one-to one relationship where each related object is referenced as a property in the other? I've been trying to set up my EOModel like this for a while now, but no matter which way I try to do it EO Modeler complains.

A use case of this would be if you have a single data object, linked to its corresponding single state object. In O-O you would want to keep the logic handling these separate. (I.e. 2 different classes)

I ended up working around this so its not a showstopper for me but I'm just curious for future reference if anyone's actually managed to do it, and if so how.

thanks
Des

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


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Bi-directional One-to-one relationship
      • From: Des Oates <email@hidden>
References: 
 >Bi-directional One-to-one relationship (From: Des Oates <email@hidden>)

  • Prev by Date: Bi-directional One-to-one relationship
  • Next by Date: 10.3.9 Update-Java crash
  • Previous by thread: Bi-directional One-to-one relationship
  • Next by thread: Re: Bi-directional One-to-one relationship
  • Index(es):
    • Date
    • Thread