Click or drag to resize

BeforeDataObjectSaveEventArgs Class

EventArgs class for the BeforeDataObjectSave event.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    Omada.OE.AppLogicAppEventArgs
      Omada.OE.AppLogicBeforeDataObjectSaveEventArgs

Namespace:  Omada.OE.AppLogic
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public class BeforeDataObjectSaveEventArgs : AppEventArgs

The BeforeDataObjectSaveEventArgs type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyDataObject
The DataObject about to be saved.
Public propertyDataObjectTypeId
The Id of the DataObjectType of the DataObject about to be saved.
Public propertyDataObjectTypeUId
The UId of the DataObjectType of the DataObject about to be saved.
Public propertyDbConnection
The current database connection.
(Inherited from AppEventArgs.)
Public propertyDbTransaction
The current database transaction.
(Inherited from AppEventArgs.)
Public propertyFactory
(Inherited from AppEventArgs.)
Public propertyIsNewDataObject
Is the DataObject about to be saved a new one?
Public propertyModifiedProperties
Contains the properties that were changed. Properties w. log are excluded. Is null if IsNewDataObject == true.
Public propertyPrevious
A representation of how the data object appeared before it was changed. Is null if it is a new data object being saved.
Top
Methods
  NameDescription
Public methodToString
Used in the event trace feature
(Overrides ObjectToString.)
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