Click or drag to resize
TableManagerCreateTable Method
Creates specified table in database. Allows specify if identity will be set on primary key column.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
public void CreateTable(
	string tableName,
	string primaryKeyName,
	bool setIdentity = true
)

Parameters

tableName
Type: SystemString
Table name to create
primaryKeyName
Type: SystemString
Primary key of table to create
setIdentity (Optional)
Type: SystemBoolean
If true, sets identity on primary key column
See Also