AbstractTableManager RecreatePKConstraint Method Kentico 8.1 API Reference
Drops the current primary key constraint and creates new from given columns.

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

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