Click or drag to resize

MainCopyPropertyValuesToReferredObjects Method

Copies values for the supplied property system name on the action object to the data object referred to through the property specified in referencePropertyId.
Codemethod usage
Designed to be used in a process only (Yes/No)No
Action Object (data object type)ActionObject

Namespace:  Omada.OE.UtilityCodeAssembly
Assembly:  Omada.OE.UtilityCodeAssembly (in Omada.OE.UtilityCodeAssembly.dll) Version: 15.0.0.0
Syntax
C#
public bool CopyPropertyValuesToReferredObjects(
	CodeMethodInvokeContext context,
	string referencePropertySysName,
	string propertySysNames,
	bool clearExistingValues,
	bool overwriteExistingValues
)

Parameters

context
Type: Omada.OE.ModelCodeMethodInvokeContext
An invoke context object.
referencePropertySysName
Type: SystemString
Reference property system name that refers to the data object where the property values are to be copied to
propertySysNames
Type: SystemString
CSV of property system names for which the values are to be copied over
clearExistingValues
Type: SystemBoolean
Is only used for multivalue reference properties
overwriteExistingValues
Type: SystemBoolean
Is only used for multivalue reference properties - and only if clearExistingValues=false

Return Value

Type: Boolean
See Also