Interface IDeleteColumnBuilder
Builds a Delete Column expression.
Namespace: Umbraco.Cms.Infrastructure.Migrations.Expressions.Delete.Column
Assembly: Umbraco.Infrastructure.dll
Syntax
public interface IDeleteColumnBuilder : IFluentBuilder
Methods
View SourceColumn(string)
Specifies the column to delete in the current delete operation.
Declaration
IDeleteColumnBuilder Column(string columnName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | columnName | The name of the column to be deleted. |
Returns
| Type | Description |
|---|---|
| IDeleteColumnBuilder | The current IDeleteColumnBuilder instance for method chaining. |
FromTable(string)
Specifies the table that contains the column to be deleted.
Declaration
IExecutableBuilder FromTable(string tableName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | tableName | The name of the table containing the column to delete. |
Returns
| Type | Description |
|---|---|
| IExecutableBuilder | An IExecutableBuilder that can be used to execute the delete column operation. |