Whenever you store or retrieve an object, ReStore will monitor
changes to that object, and can automatically update its representation in the
database - there is nothing extra for you to do. Additionally, ReStore provides a transactional
model which allows you to 'batch' changes together - those changes can then be
stored (committed) or forgotten (rolled back), as desired:
aReStore beginTransaction.
self editOrCreateAnyNumberOfObjects.
(MessageBox confirm: 'Save
Changes?')
ifTrue:
[aReStore commitTransaction]
ifFalse: [aReStore
rollbackTransaction]