Search Results for

    Show / Hide Table of Contents
    View Source

    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 Source

    AlterBuilder(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 Source

    Table(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.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX