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: 9.0.0
Syntaxpublic List<string> GetPrimaryKeyColumns(
string tableName
)
Parameters
- tableName
- Type: SystemString
Database table name
Return Value
Type:
ListString
See Also