Click or drag to resize
ExtraColumn Constructor
Creates a new ExtraColumn instance, defining a reference (foreign key relationship) from another object type to the current object type.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax
C#
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