ObjectDependencyEnum EnumerationKentico 8.0 API Reference
Enumeration for setting the Required parameter of ObjectDependency.

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

  Member nameValueDescription
Required0 Use this if the dependency is required and there is NO default value which can be used instead (i.e. the object does not make sense without having the exact dependency set).
RequiredHasDefault1 Use this if the dependency is required but there is a default value which can be set instead (typical example is User, if the user owns a document and the user is deleted, the document should not be deleted, but default user - administrator - should be set as the owner instead).
NotRequired2 Use this if the dependency is not required (column has to support nulls) and the object makes sense without having this dependency set.
Binding3 Represents a required dependency which is a part of binding relationship.
See Also