AbstractTableManager GetTablePKName Method Kentico 8.0 API Reference
Returns name of the primary key. If more columns in PK, names are separated by semicolon ";".

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

Parameters

tableName
Type: OnlineSystem String
Name of the table to get PK column(s) from.

Return Value

Type: OnlineString
See Also