Change a column data type and nullability.

Namespace:  Mindscape.LightSpeed.Migrations
Assembly:  Mindscape.LightSpeed.Migrations (in Mindscape.LightSpeed.Migrations.dll)
Version: 3.1.0.0 (4.0.0.0)

Syntax

C#
protected void ChangeColumn(
	string tableName,
	string columnName,
	ModelDataType type,
	bool nullable
)
Visual Basic (Declaration)
Protected Sub ChangeColumn ( _
	tableName As String, _
	columnName As String, _
	type As ModelDataType, _
	nullable As Boolean _
)

Parameters

tableName
Type: System..::.String
The name of the table to alter the column on.
columnName
Type: System..::.String
The name of the column to alter.
type
Type: Mindscape.LightSpeed.Migrations..::.ModelDataType
The type that the column should be.
nullable
Type: System..::.Boolean
If true, the column will be nullable, otherwise it will not be nullable.

See Also