Add column to specified table.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- tableName
- Type:
System String
Table name
- columnName
- Type:
System String
Name of a new column
- columnType
- Type:
System String
Type of a new column
- allowNull
- Type:
System Boolean
Allow NULL values in new column or not
- defaultValue
- Type:
System String
Default value of the column. Null if no default value is set
- forceDefaultValue
- Type:
System Boolean
Indicates if column default value should be set if column doesn't allow NULL values
See Also