TableManagerUpdateTableByDefinition Method |
Updates the structure of given table with new schema. It adds, modifies or removes the columns.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax public void UpdateTableByDefinition(
string tableName,
string definition,
string excludeColumns = null,
bool loadOldXML = true
)
Parameters
- tableName
- Type: SystemString
Table name - definition
- Type: SystemString
New form definition - excludeColumns (Optional)
- Type: SystemString
Column list to exclude. Column names separated by semicolon - loadOldXML (Optional)
- Type: SystemBoolean
Indicates if old XML schema definition should be loaded
See Also