Re: EC UndoManager Question
Re: EC UndoManager Question
- Subject: Re: EC UndoManager Question
- From: Chuck Hill <email@hidden>
- Date: Wed, 23 Aug 2006 09:53:06 -0700
On Aug 23, 2006, at 1:16 AM, Ute Hoffmann wrote:
Hallo,
can someone please confirm that the undoManager does only cache ec-
States which are connected to database changes (inserts/
saveChanges), but not database states connected with fetches or
such, which are only displayed in a component (no change possible/
done)?
None of the above. :-) The EOEditingContext's undo manager
snapshots changes in the EOs that the EC manages. It does not matter
if these have been saved to the data store or not. Since fetches
don't change the state of EOs, they are not reflected in the undo
manager.
Chuck
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems. http://www.global-village.net/products/practical_webobjects
_______________________________________________
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