Remove a column and its associated foreign key.
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 DropForeignKeyColumn( string tableName, string owner, string columnName ) |
Visual Basic (Declaration) |
---|
Protected Overridable Sub DropForeignKeyColumn ( _ tableName As String, _ owner As String, _ columnName As String _ ) |
Parameters
- tableName
- Type: System..::.String
The table name to remove the column and foreign key from.
- owner
- Type: System..::.String
The owner of the table.
- columnName
- Type: System..::.String
The name of the column to remove.