Click or drag to resize

DataObjectSaveOptions Class

The save options are specified when saving a DataObject. Can be used for instance when security must be overridden.
Inheritance Hierarchy
SystemObject
  Omada.OE.ModelDataObjectSaveOptions
    Omada.OE.ModelActivitySaveOptions
    Omada.OE.ModelProcessSaveOptions

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
[SerializableAttribute]
public class DataObjectSaveOptions

The DataObjectSaveOptions type exposes the following members.

Constructors
  NameDescription
Public methodDataObjectSaveOptions
Top
Properties
  NameDescription
Public propertyDataObjectType
Save methods uses the type object for various lookups. The type object must match the TypeId on the DataObject being saved. If the type is not defined, it is retrived during the save operation.
Public propertyForceSaveOfUnchangedVersion
Unless set to true, the save method will only create a new data version if at least on of the property values differ from the previous version.
Public propertyOverrideSecurity
The OverrideSecurity property is true if either the override boolean is set in this class or if the static SecurityOverrideContext is in an override state.
Public propertySkipEvents
Defines whether those events which normally executes during an object save method should be skipped.
Public propertySkipImmutabilityUniquenessAndRequiredConstraints
Set to true to skip check for required values, immutabable properties and unique constraints
Public propertySkipServiceRuleHandling
Defines whether service rule handling shall be skipped. The service rule handling calculates estimates according to the for dataobjects being saved. The service rules are applied according to the definition on one the related Process Template.
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
See Also