Add a column to a table in the current database.

Syntax

ISDatabaseProviderBuilderUtilitiesBase.AddColumn(tableName, columnName, columnType, required, [size], [defaultValue], [identity])

Parameters

NameTypeOptionalByRefDescription
tableName String
columnName String The name of the column to add.
columnType iseColumnType
required Boolean Indicates whether this is a required (not nullable) column.
size Integer Optional The size of the column. If omitted, a value of 1 is assumed.
defaultValue Object Optional A default value for this column for any existing data in the table. If omitted, a value of Nothing is assumed.
identity Boolean Optional Indicates whether the new column is an identity column. If omitted, a value of False is assumed.

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