EO: Creating Relationships - BOGUS?
EO: Creating Relationships - BOGUS?
- Subject: EO: Creating Relationships - BOGUS?
- From: Goodbye Bill <email@hidden>
- Date: Fri, 01 Aug 2003 22:13:11 -0400
Okay, maybe I'm missing something, but NOW that I see how to use the GUI of
EOModeler to create many-to-many relationships, that got me thinking...
How the heck is one supposed to create ONE-to-many relationships?
Up until this past weekend, I've been manually populating ALL of my primary
and foreign keys in my code. I stopped doing this once I received a smack
upside the head, from the group, a few days ago. Now, I let EO handle all
of my keys directly... just use the "join many-to-many" function and PRESTO!
Now, I WOULD LIKE to be able to create my objects as BASIC as possible (with
only my properties)... WITHOUT me having to specify ANY keys. THEN, click a
button or three and have EO take care of the rest, behind the scenes.
Example:
ENTITY #1 : "Album"
PROPERTIES: "Name" (notice there is only one)
ENTITY #2 : "Song"
PROPERTIES: "Name" (notice there is only one... again)
Using the example above, I want to be able to add a one-to-one relationship
to the "Album" entity (probably called "Songs") and have EO create all of
the primary and foreign key relationships.
Is this possible?
Thanx,
"Bill"
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.