Click or drag to resize
AbstractTableManagerAlterTableColumn Method
Rename, retype or allow/not allow NULL values in column

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax
C#
public virtual void AlterTableColumn(
	string tableName,
	string columnName,
	string newColumnName,
	string newColumnType,
	bool newColumnAllowNull,
	string newColumnDefaultValue
)

Parameters

tableName
Type: SystemString
Table name
columnName
Type: SystemString
Name of an old column
newColumnName
Type: SystemString
Name of a new column
newColumnType
Type: SystemString
Type of a new column
newColumnAllowNull
Type: SystemBoolean
Allow NULL values in new column or not
newColumnDefaultValue
Type: SystemString
Default value of a new column in system (en) culture

Implements

ITableManagerAlterTableColumn(String, String, String, String, Boolean, String)
See Also