TableManagerCreateTable Method (String, String, Boolean) |
Creates specified table in database. Allows specify if identity will be set on primary key column.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax public void CreateTable(
string tableName,
string primaryKeyName,
bool setIdentity
)
Parameters
- tableName
- Type: SystemString
Table name to create - primaryKeyName
- Type: SystemString
Primary key of table to create - setIdentity
- Type: SystemBoolean
If true, sets identity on primary key column
See Also