Re: Non Compulsory toOne Relationships, Propergating Primary Key
Re: Non Compulsory toOne Relationships, Propergating Primary Key
- Subject: Re: Non Compulsory toOne Relationships, Propergating Primary Key
- From: Art Isbell <email@hidden>
- Date: Fri, 7 Dec 2007 10:02:26 -1000
On Dec 7, 2007, at 8:51 AM, Chuck Hill wrote:
On Dec 6, 2007, at 11:50 PM, Art Isbell wrote:
A to-one relationship from one foreign key to a primary key
Typo: should read "from a primary key to a primary key"
must always have exactly one row in the destination entity—if this
isn’t guaranteed to be the case, use a to-many relationship. This
rule doesn’t apply to a foreign key to primary key relationship
where a null value for the foreign key in the source row indicates
that no row exists in the destination.
I copied and pasted the above, so it's not a typo in the general
case. However, in this specific case, the foreign key is the primary
key, so "from a primary key to a primary key" applies.
Aloha,
Art
_______________________________________________
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