Creates a new ExtraColumn instance, defining a reference (foreign key relationship) from another object type to the current object type.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax public ExtraColumn(
string extendedObjectType,
string columnName,
ObjectDependencyEnum required = ObjectDependencyEnum.NotRequired
)
Parameters
- extendedObjectType
- Type: SystemString
The object type that is the source of the reference - columnName
- Type: SystemString
The name of the foreign key column of the source object type that stores the IDs of the referenced objects - required (Optional)
- Type: CMS.DataEngineObjectDependencyEnum
Determines how the system handles referential integrity and automatic removal of objects when a referenced object is deleted (Not required reference by default)
See Also