Class AlterBuilder
Implements IAlterBuilder.
Inheritance
object
Namespace: Umbraco.Cms.Infrastructure.Migrations.Expressions.Alter
Assembly: Umbraco.Infrastructure.dll
Syntax
public class AlterBuilder : IAlterBuilder, IFluentBuilder
Constructors
View SourceAlterBuilder(IMigrationContext)
Initializes a new instance of the AlterBuilder class.
Declaration
public AlterBuilder(IMigrationContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| IMigrationContext | context | The migration context. |
Methods
View SourceTable(string)
Specifies which table to alter in the database schema.
Declaration
public IAlterTableBuilder Table(string tableName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | tableName | The name of the table to be altered. |
Returns
| Type | Description |
|---|---|
| IAlterTableBuilder | An IAlterTableBuilder instance to continue building the alteration expression. |