ObjectDependency Constructor Kentico 8.0 API Reference
Creates new instance of ObjectDependency.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

dependencyColumn
Type: OnlineSystem String
Name of the foreign key column of the dependency
dependencyObjectType
Type: OnlineSystem String
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.DataEngine ObjectDependencyEnum
Determines whether the dependency is required or optional (not required by default)
objectTypeColumn (Optional)
Type: OnlineSystem String
Name of the column where the object type is stored (null for standard dependencies)
See Also