Click or drag to resize

MainRemoveReferenceFromReferringObjects Method

The Code method finds all the dataobjects that refers the object in the property  referredPropertySysName through the properties listed in referringPropertySysNames.  It removes the reference to the object from these properties. 
Codemethod usageDescription
Designed to be used in a process only (Yes/No)No
Action Object (data object type)Any
    

Namespace:  Omada.OE.UtilityCodeAssembly
Assembly:  Omada.OE.UtilityCodeAssembly (in Omada.OE.UtilityCodeAssembly.dll) Version: 15.0.0.0
Syntax
C#
public void RemoveReferenceFromReferringObjects(
	CodeMethodInvokeContext context,
	string referredPropertySysName,
	string referringPropertySysNames
)

Parameters

context
Type: Omada.OE.ModelCodeMethodInvokeContext
referredPropertySysName
Type: SystemString
Property system name of the data object to check for references. If it's empty, context action object is used.
referringPropertySysNames
Type: SystemString
CSV systemnames of proeperties to for which to remove references. Comma separated.
See Also