Change a column data type and nullability.
Namespace:
Mindscape.LightSpeed.MigrationsAssembly: Mindscape.LightSpeed.Migrations (in Mindscape.LightSpeed.Migrations.dll)
Version: 3.1.0.0 (4.0.0.0)
Syntax
C# |
---|
protected virtual void ChangeColumn( string tableName, string owner, string columnName, string type, bool nullable ) |
Visual Basic (Declaration) |
---|
Protected Overridable Sub ChangeColumn ( _ tableName As String, _ owner As String, _ columnName As String, _ type As String, _ nullable As Boolean _ ) |
Parameters
- tableName
- Type: System..::.String
The name of the table to alter the column on.
- owner
- Type: System..::.String
The owner of the table to alter the column on.
- columnName
- Type: System..::.String
The name of the column to alter.
- type
- Type: System..::.String
The native database type that the column should be.
- nullable
- Type: System..::.Boolean
If true, the column will be nullable, otherwise it will not be nullable.