|
Hi all, this is probably very obvious for
some of you, but not to me. I am trying to figure out how to set up my
model in a seemingly very simple way. Let’s suppose I have a master object
“Master”, and a slave object “Slave”. There
should be an optional 1:1 relationship from master->slave. Let’s
imagine the following fields: Master: Id integer primary key Value string Slave: Id integer primary key, Subvalue string NOT NULL How do I set up an optional relationship
from master to slave, such that the primary key from master (ID) is propagated
into Slave? If I check either the “Propagate primary key” or “Owns
destination” box for the relationship from master->slave, it attempts
to create a slave object immediately when the master object is created. Since
the relationship is supposed to be optional (per the radio button), what am I
doing wrong? How can I create a Master object, then perhaps later on
create a slave object that belongs to master? Thanks for any help, Randy |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]
