TableManagerRecreatePKConstraint Method |
Drops the current PK constraint and creates new from given columns.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax public void RecreatePKConstraint(
string tableName,
string[] primaryKeyColumns
)
Parameters
- tableName
- Type: SystemString
Name of the table - primaryKeyColumns
- Type: SystemString
List of columns which should be part of primary key
See Also