Remove a column from a table.
Namespace:
Mindscape.LightSpeed.MigrationsAssembly: Mindscape.LightSpeed.Migrations (in Mindscape.LightSpeed.Migrations.dll)
Version: 3.1.0.0 (4.0.0.0)
Syntax
C# |
---|
protected void DropColumn( string tableName, string columnName ) |
Visual Basic (Declaration) |
---|
Protected Sub DropColumn ( _ tableName As String, _ columnName As String _ ) |
Parameters
- tableName
- Type: System..::.String
The name of the table to remove the column from.
- columnName
- Type: System..::.String
The name of the column to remove.