Click or drag to resize
ObjectDependency Constructor
Creates new instance of ObjectDependency.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public ObjectDependency(
	string dependencyColumn,
	string dependencyObjectType,
	ObjectDependencyEnum required = ObjectDependencyEnum.NotRequired,
	string objectTypeColumn = null
)

Parameters

dependencyColumn
Type: SystemString
Name of the foreign key column of the dependency
dependencyObjectType
Type: SystemString
Object type of the defined dependecy (null for objects which define the dependency type in the data column - use fourth param to specify that)
required (Optional)
Type: CMS.DataEngineObjectDependencyEnum
Determines whether the dependency is required or optional (not required by default)
objectTypeColumn (Optional)
Type: SystemString
Name of the column where the object type is stored (null for standard dependencies)
See Also