Click or drag to resize

MainPopulateReferringObjectsForReferredObject Method

We have the following scenario: the action object referres an object X trough the property masterObjRefPropertyId. The objects Y1,Y2,Y3 of type referringObjTypeId are referring the object X trough a property referredTroughRefPropId. The object Y1,Y2,Y3 have a set property filterSetPropertyId set to one of the values in filterSetPropertyValueIds. The method will populate Y1,Y2,Y3 into the property referringObjRefPropertyId on the action object.
Codemethod usage
Designed to be used in a process only No
Action Object (data object type) Any
SecurityOverridden

Namespace:  Omada.OE.UtilityCodeAssembly
Assembly:  Omada.OE.UtilityCodeAssembly (in Omada.OE.UtilityCodeAssembly.dll) Version: 15.0.0.0
Syntax
C#
public bool PopulateReferringObjectsForReferredObject(
	CodeMethodInvokeContext context,
	string masterObjRefPropertySysName,
	string referringObjTypeUidStr,
	string referringObjRefPropertySysName,
	string referredTroughRefPropSysName,
	string filterSetPropertySysName,
	string filterSetPropertyValueUidStr
)

Parameters

context
Type: Omada.OE.ModelCodeMethodInvokeContext
masterObjRefPropertySysName
Type: SystemString
The property on the action object that will be referred by other objects
referringObjTypeUidStr
Type: SystemString
The data object type of the referring object
referringObjRefPropertySysName
Type: SystemString
The property that the referring objects will be populated to
referredTroughRefPropSysName
Type: SystemString
The property through which the objects Y1,Y2,Y3 are referring the objects X
filterSetPropertySysName
Type: SystemString
A set property on the objects Y1,Y2,Y3
filterSetPropertyValueUidStr
Type: SystemString
A list of set property values (UIDs, comma separated)

Return Value

Type: Boolean
See Also