Instance Method

reset

Returns this object to its saved state.

Declaration

- (void)reset;

Discussion

This method updates all the properties of this object with the corresponding values in the event store. Any local changes that were not saved before invoking this method are lost. This method does nothing if the object was never saved.

See Also

Saving and Restoring State

hasChanges

Returns whether this object or any of the objects it contains has uncommitted changes.

- isNew

Returns whether this object has ever been saved.

- refresh

Merges changes to this object with the latest saved values.

- rollback

Rolls back the property values of this object to its original state when it was first fetched.