Interface IAlterTableBuilder
Builds an Alter Table expression.
Namespace: Umbraco.Cms.Infrastructure.Migrations.Expressions.Alter.Table
Assembly: Umbraco.Infrastructure.dll
Syntax
public interface IAlterTableBuilder : IFluentBuilder
Methods
View SourceAddColumn(string)
Specifies a column to add.
Declaration
IAlterTableColumnTypeBuilder AddColumn(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name |
Returns
| Type | Description |
|---|---|
| IAlterTableColumnTypeBuilder |
AlterColumn(string)
Begins the process of altering the definition of a specified column in the table.
Declaration
IAlterTableColumnTypeBuilder AlterColumn(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the column to alter. |
Returns
| Type | Description |
|---|---|
| IAlterTableColumnTypeBuilder | An IAlterTableColumnTypeBuilder that allows further specification of the new column type and properties. |