Rename a column.
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 RenameColumn( string tableName, string columnName, string newColumnName ) |
Visual Basic (Declaration) |
---|
Protected Sub RenameColumn ( _ tableName As String, _ columnName As String, _ newColumnName As String _ ) |
Parameters
- tableName
- Type: System..::.String
The name of the table that the column belongs to.
- columnName
- Type: System..::.String
The name of the column to rename.
- newColumnName
- Type: System..::.String
The new name for the column.