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

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