Re: refresh an enterprise object
Re: refresh an enterprise object
- Subject: Re: refresh an enterprise object
- From: Nathan Dumar <email@hidden>
- Date: Tue, 22 Jun 2004 10:21:24 -0400
On Jun 21, 2004, at 10:22 PM, Art Isbell wrote:
On Jun 21, 2004, at 3:58 PM, Nathan Dumar wrote:
I think aProduct is an EO. Are you sure
addObjectToBothSidesOfRelationshipWithKey is a method in an EO?
EO's inherit from EOGenericRecord or EOCustomObject, both of which
implement EORelationshipManipulation which declares
addObjectToBothSidesOfRelationshipWithKey().
Oh, there it is. Thank you.
I haven't needed to use it yet, so I don't know much about it.
You may not have thought you needed to use it yet :-)
Hah! You're right. Now that I (1) know about it, and (2) have read
about it and understand it, I've been doing a lot of extra work for
nothing! (And I look a bit foolish.)
Not using these methods risks rendering the object graph inconsistent
which may have been the problem that spawned the original question in
this thread.
And brings a lot of extra work coding both sides of the relationship
myself.
Thanks again, Art.
Nathan
_______________________________________________
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.