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: 12.0.0
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