Add a primary key constraint to a table.

Syntax

ISDatabaseProviderBuilderUtilitiesBase.SetPrimaryKey(tableName, columnNames, [constraintName])

Parameters

NameTypeOptionalByRefDescription
tableName String The table name.
columnNames String The column names. Separate multiple column names with commas.
constraintName String Optional The name of the new constraint. If omitted, this will be Pk_tableName.

Return Value

Boolean

A Boolean value indicating success.

Member of:
ISDatabaseProviderBuilderUtilitiesBase
Namespace:
Intersoft.ISSupport6
Assembly:
ISSupport6, Version=6.0.3
Target Framework:
.NET 9.0