Click or drag to resize

CopyRuleControllerCopyObjectData Method (CopyRule, Object, DataObject, String)

Copies the values from one dataobject to one or more other dataobjects using a copy rule. The destination object(s) are saved afterwards.

Namespace:  Omada.OE.AppLogic
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public virtual void CopyObjectData(
	CopyRule copyRule,
	Object sourceObject,
	DataObject destinationObject,
	string logHistoryPropertySystemName = null
)

Parameters

copyRule
Type: Omada.OE.ModelCopyRule
sourceObject
Type: SystemObject
Either a DataObject or a PropertyValuesContainer
destinationObject
Type: Omada.OE.ModelDataObject
The destination data object that will be updated. If the copy rule contains a field with a TargetPath then the resolved object(s) will be updated as well.
logHistoryPropertySystemName (Optional)
Type: SystemString
Systemname of a Value text property on the destionationobject, where a log of the changes will be saved
See Also