Click or drag to resize
ObjectTypeInfo Constructor
Constructor.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax
C#
public ObjectTypeInfo(
	Type providerType,
	string objectType,
	string objectClassName,
	string idColumn,
	string timeStampColumn,
	string guidColumn,
	string codeNameColumn,
	string displayNameColumn,
	string binaryColumn,
	string siteIDColumn,
	string parentIDColumn,
	string parentObjectType
)

Parameters

providerType
Type: SystemType
The type of the object's InfoProvider class. Required for all object types.
objectType
Type: SystemString
The primary identifier string for the object type. Required for all object types.
objectClassName
Type: SystemString
The code name assigned to the matching module class in the administration interface. Required for all object types.
idColumn
Type: SystemString
The name of the class field (column) that stores the IDs of objects (primary key). Can be null in rare cases, for example binding objects without an identity column.
timeStampColumn
Type: SystemString
The name of the class field (column) that stores the last modification date for objects.
guidColumn
Type: SystemString
The name of the class field (column) that stores the GUID identifiers of objects.
codeNameColumn
Type: SystemString
The name of the class field (column) that stores the unique text identifiers of objects. Can be null for object types without a dedicated code name column.
displayNameColumn
Type: SystemString
The name of the class field (column) that stores the names of objects used in the administration interface and on the live site.
binaryColumn
Type: SystemString
The name of the class field (column) that stores binary data for objects.
siteIDColumn
Type: SystemString
The name of the class field (column) that stores site IDs for site-related objects. Only use the site ID column if the object does not have a separate binding object type for the site relationship.
parentIDColumn
Type: SystemString
The name of the class field (column) that stores the IDs of parent objects. Null for object types without a parent object.
parentObjectType
Type: SystemString
The object type name of the parent. Null for object types without a parent object.
See Also