TableManager RecreatePKConstraint Method Kentico 8.0 API Reference
Drops the current PK constraint and creates new from given columns.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

tableName
Type: OnlineSystem String
Name of the table
primaryKeyColumns
Type:  OnlineSystem String 
List of columns which should be part of primary key
See Also