Click or drag to resize

MainLibraryCopyPropertyValuesFromReferencePath Method

Method is using "ReferencePath" concept to load a data object and then to copy the value of a property from this one to the target object.

Namespace:  Omada.OE.UtilityCodeAssembly.Library
Assembly:  Omada.OE.UtilityCodeAssembly (in Omada.OE.UtilityCodeAssembly.dll) Version: 15.0.0.0
Syntax
C#
public static bool CopyPropertyValuesFromReferencePath(
	CodeMethodInvokeContext context,
	DataObjectReferencePath referencePath,
	string fromPropertyIds,
	string toPropertyIds
)

Parameters

context
Type: Omada.OE.ModelCodeMethodInvokeContext
referencePath
Type: Omada.OE.ModelDataObjectReferencePath
ReferencePath pointing to the source object
fromPropertyIds
Type: SystemString
The property that has the value we want to compy.
toPropertyIds
Type: SystemString
The property that we want to copy the value to.

Return Value

Type: Boolean
See Also