Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EC UndoManager Question




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:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden
References: 
 >EC UndoManager Question (From: Ute Hoffmann <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.