Interface IAlterTableAddColumnOrAlterColumnSyntax
Interface to add or alter a column
Namespace: FluentMigrator.Builders.Alter.Table
Assembly: FluentMigrator.Abstractions.dll
Syntax
public interface IAlterTableAddColumnOrAlterColumnSyntax
Methods
| Edit this page View SourceAddColumn(string)
Add a column
Declaration
IAlterTableColumnAsTypeSyntax AddColumn(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The column name |
Returns
Type | Description |
---|---|
IAlterTableColumnAsTypeSyntax | The interface to define the column properties |
AlterColumn(string)
Alter a column
Declaration
IAlterTableColumnAsTypeSyntax AlterColumn(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The column name |
Returns
Type | Description |
---|---|
IAlterTableColumnAsTypeSyntax | The interface to define the column properties |
ToSchema(string)
Set the table schema
Declaration
void ToSchema(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The schema name |