If the user changes a property and then changes it to its original value, the flag IsDirty
indicates that it needs to be saved, and the "virtual save" method indicates that it does not need to be saved.
Which one you partially choose depends on what kind of semantics you want.
source
share