| DataObjectControllerUpdateDataObjectWithRetry Method |
Saves a data object after having modified it.
In case of an UpdateException due to someone else having updated the data object since it was loaded the method will re-load it and try again.
In case of an UpdateException (for the same reason) the second time the method will either silently ignore it or re-throw the UpdateException.
In case of all other types of exceptions being thrown the method will simply re-throw it.
Namespace:
Omada.OE.AppLogic
Assembly:
Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntaxpublic void UpdateDataObjectWithRetry(
DataObject dataObject,
DataObjectControllerPropertyValuesAssigner assigner,
DataObjectSaveOptions saveOptions = null,
bool silentlyIgnoreError = false
)
Parameters
- dataObject
- Type: Omada.OE.ModelDataObject
Dataobject to be updated. Must not be a new dataobject.
The dataobject *should not* already be equipped with the desired new property values.
Instead these should be assigned with the specified assigner.
- assigner
- Type: Omada.OE.AppLogicDataObjectControllerPropertyValuesAssigner
Delegate to modify the dataobject before saving it.
- saveOptions (Optional)
- Type: Omada.OE.ModelDataObjectSaveOptions
- silentlyIgnoreError (Optional)
- Type: SystemBoolean
See Also