| ShadowObjectHelperCreateShadowObject Method |
Creates a shadow data object that mimicks a CalculatedAssignment.
The shadow object is not (and can't be) saved in the DB.
The shadow object is intended to be used for evaluating event definitions.
Namespace:
Omada.OE.Solution.OIM.AppLogic.RoPE
Assembly:
Omada.OE.Solution.OIM.AppLogic (in Omada.OE.Solution.OIM.AppLogic.dll) Version: 15.0.0.0
Syntaxpublic DataObject CreateShadowObject(
CalculatedAssignment curr,
CalculatedAssignment prev,
DataObjectType dot,
Nullable<CRAEventType> eventType = null
)
Parameters
- curr
- Type: CalculatedAssignment
The CalculatedAssignment that the shadow object should mimick.
- prev
- Type: CalculatedAssignment
The previous version of the CalculatedAssignment - is only required if eventType is Updated.
- dot
- Type: Omada.OE.ModelDataObjectType
The data object type that represents the resource type of the resource that the CalculatedAssignment is for.
- eventType (Optional)
- Type: SystemNullableCRAEventType
The event type that the shadow object will be used to evaluate events for.
Return Value
Type:
DataObject
See Also