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