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

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax
C#
public virtual void RecreatePKConstraint(
	string tableName,
	string[] primaryKeyColumns
)

Parameters

tableName
Type: System.String
Name of the table
primaryKeyColumns
Type:System.String[]
List of columns which should be part of primary key

Implements

ITableManager.RecreatePKConstraint(String,String[])
See Also