OCLOperators DiscardChanges
This page was created by Hans.karlsen on 2021-05-02. Last edited by Wikiadmin on 2026-09-12.
The DiscardChanges operator iterates over a collection of objects and reverts them to their last known state from the persistence store (database). It effectively "undoes" any pending edits, additions, or deletions for the specific objects in the list
You can use this to revert changes currently applied like this: selfVM.DirtyList->DiscardChanges;
