Click or drag to resize
AbstractTableManagerRecreatePKConstraint Method
Drops the current primary key constraint and creates new from given columns.

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

Implements

ITableManagerRecreatePKConstraint(String, String)
See Also