On Jun 3, 2011, at 1:17 PM, Kevin Hinkson wrote:
> On 3 Jun 2011, at 16:00, Chuck Hill wrote:
> 
>> There is no need for the first save.  Trust in EOF:
>> 
>>> EO1 -> init
>>> EO2 -> init
>>> -> add relationship to EO1
>>> -> save both.
> 
> I thought so, but when I had attempted it once before I got nothing. I 
> figured you were right so the caveat is: foreign keys must not be class 
> properties for this to work. Which makes perfect sense. Thanks again.


Correct.  You can expose the PK though that is commonly considered Bad Practice 
and Undesirable.  Exposing  the FK will cause problems for EOF -- just don't! 
:-)

Chuck


-- 
Chuck Hill             Senior Consultant / VP Development

Come to WOWODC this July for unparalleled WO learning opportunities and real 
peer to peer problem solving!  Network, socialize, and enjoy a great 
cosmopolitan city.  See you there!  http://www.wocommunity.org/wowodc11/

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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]

Reply via email to