Re: How to selectively save EO
Re: How to selectively save EO
- Subject: Re: How to selectively save EO
- From: Ken Anderson <email@hidden>
- Date: Fri, 21 Apr 2006 12:41:12 -0400
Ondra,
I'm not sure what the problem is - it makes perfect sense, since an
editing context is a single perspective onto data. If you want to
save other objects prior, you can also have child editing contexts
that will commit changes to the parent.
Note that you can cross contexts with shared editing contexts, but
this is another matter.
Ken
On Apr 21, 2006, at 9:51 AM, Ondra Cada wrote:
Ken,
On Apr 21, 2006, at 1:52 PM, Ken Anderson wrote:
A golden rule is that all related objects have to be in the same
editing context
I've bumped into this problem once or twice myself (and, Louis,
alas, have not found a good solution in EOF). Time to time it might
be reasonable to have relationships which go over editing contexts
bounds and save the EC's separately (namely, the side which has no
foreign keys could be saved anytime even if the side which has them
is not saved yet).
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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