Click or drag to resize
TableManagerGetPrimaryKeyColumns 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: 8.2.23
Syntax
C#
public List<string> GetPrimaryKeyColumns(
	string tableName
)

Parameters

tableName
Type: SystemString
Database table name

Return Value

Type: ListString
See Also