SelfVM.DirtyList
(Adding message template to the top of the page)
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{message|Write the content here to display this box}}
<message>Write the content here to display this box</message>
The DirtyList attribute on the selfVM object will return all changed objects that will be saved if <code>selfVM.Save</code> is called.
The DirtyList attribute on the selfVM object will return all changed objects that will be saved if <code>selfVM.Save</code> is called.


Use <code>selfVM.DirtyList->DiscardChanges</code> to revert all changes made to a ViewModel.  
Use <code>selfVM.DirtyList->DiscardChanges</code> to revert all changes made to a ViewModel.  


See: [[OCLOperators DiscardChanges]]
'''See:''' [[Documentation:OCLOperators DiscardChanges|OCLOperators DiscardChanges]]
[[Category:OCL ViewModel Operators]]
[[Category:OCL ViewModel Operators]]
{{Edited|July|12|2024}}
{{Edited|July|12|2025}}

Latest revision as of 05:06, 5 February 2025

This page was created by Lars.olofsson@mdriven.net on 2022-04-10. Last edited by Stephanie@mdriven.net on 2025-02-05.

The DirtyList attribute on the selfVM object will return all changed objects that will be saved if selfVM.Save is called.

Use selfVM.DirtyList->DiscardChanges to revert all changes made to a ViewModel.

See: OCLOperators DiscardChanges

MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments