Click or drag to resize
ITableManager.GetPrimaryKeyColumns Method
Returns list of column names which represent primary keys of the specified database table. Returns empty list if primary keys are not found.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
List<string> GetPrimaryKeyColumns(
	string tableName
)

Parameters

tableName
Type: System.String
Database table name

Return Value

Type: List<String>
See Also