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.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax public List<string> GetPrimaryKeyColumns(
string tableName
)
Parameters
- tableName
- Type: SystemString
Database table name
Return Value
Type:
ListStringSee Also