OCLOperators DiscardChanges
Created by Hans.karlsen on 2021-05-02 · Last edited by Vale.buyondo on 2026-01-13.
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;
