Click or drag to resize
ITableManagerRecreatePKConstraint Method
Drops the current PK constraint and creates new from given columns.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax
C#
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