Enumeration for setting the Required parameter of ObjectDependency.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)
Members
Member name | Value | Description | |
---|---|---|---|
Required | 0 | 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). | |
RequiredHasDefault | 1 | 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). | |
NotRequired | 2 | Use this if the dependency is not required (column has to support nulls) and the object makes sense without having this dependency set. | |
Binding | 3 | Represents a required dependency which is a part of binding relationship. |
See Also