ObjectDependency Class |
Namespace: CMS.DataEngine
public class ObjectDependency : AbstractDataContainer<ObjectDependency>
The ObjectDependency type exposes the following members.
Name | Description | |
---|---|---|
ObjectDependency |
Creates a new ObjectDependency instance, defining a reference (foreign key relationship) from one object type to another.
|
Name | Description | |
---|---|---|
ColumnNames |
Available column names.
(Inherited from AbstractDataContainerParentObjectType.) | |
DependencyColumn |
Gets or sets the name of the foreign key column that stores the IDs of the referenced objects.
| |
DependencyObjectType |
Gets or sets the object type that is the target of the reference.
| |
DependencyType |
Determines how the system handles referential integrity and automatic removal of objects when a referenced object is deleted.
| |
Item |
Gets or sets the value of the column.
(Inherited from AbstractSimpleDataContainerTObject.) | |
ObjectTypeColumn |
Gets or sets the name of the data column that stores the target object type of the reference (for objects without FK database restrictons).
For example ObjectSettings or Metafiles where the object dependency is a combination of MetaFileObjectType and MetaFileObjectID.
| |
RegisteredColumns |
Registered Columns
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisteredColumnsObject |
Registered Columns object
(Inherited from AbstractSimpleDataContainerTObject.) | |
UseLocalColumns |
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainerTObject.) |
Name | Description | |
---|---|---|
ContainsColumn |
Returns true if specified column is available in current structure.
(Inherited from AbstractDataContainerParentObjectType.) | |
Equals(Object) |
Compares the dependency with another object. Returns true if all fields of the two dependencies match.
(Overrides ObjectEquals(Object).) | |
Equals(ObjectDependency) |
Compares the dependency with another ObjectDependency object. Returns true if all fields of the two dependencies match.
| |
GetHashCode |
Returns the hash code of this object dependency.
(Overrides ObjectGetHashCode.) | |
GetValue |
Gets the object value.
(Inherited from AbstractSimpleDataContainerTObject.) | |
HasDynamicObjectType |
Returns true if the dependency is referencing a dynamic object type.
| |
RegisterColumn(String, FuncTObject, Object) |
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisterColumn(String, FuncTObject, Object, FuncTObject, Object, Object) |
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisterColumns |
Registers the Columns of this object
(Inherited from AbstractSimpleDataContainerTObject.) | |
SetValue |
Sets the object value.
(Inherited from AbstractSimpleDataContainerTObject.) | |
TryGetValue |
Returns value of column.
(Inherited from AbstractSimpleDataContainerTObject.) |