• 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: Non Compulsory toOne Relationships, Propergating Primary Key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Non Compulsory toOne Relationships, Propergating Primary Key
      • From: Owen McKerrow <email@hidden>
References: 
 >Non Compulsory toOne Relationships, Propergating Primary Key (From: Owen McKerrow <email@hidden>)
 >Re: Non Compulsory toOne Relationships, Propergating Primary Key (From: Art Isbell <email@hidden>)
 >Re: Non Compulsory toOne Relationships, Propergating Primary Key (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Need some advice on handling EO validation errors
  • Next by Date: Re: Need some advice on handling EO validation errors
  • Previous by thread: Re: Non Compulsory toOne Relationships, Propergating Primary Key
  • Next by thread: Re: Non Compulsory toOne Relationships, Propergating Primary Key
  • Index(es):
    • Date
    • Thread