ITableManager GetTablePKName Method Kentico 8.1 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.1.5347.20411)

Parameters

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

Return Value

Type: OnlineString
See Also