Search Results for

    Show / Hide Table of Contents
    View Source

    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 Source

    AddColumn(string)

    Specifies a column to add.

    Declaration
    IAlterTableColumnTypeBuilder AddColumn(string name)
    Parameters
    Type Name Description
    string name
    Returns
    Type Description
    IAlterTableColumnTypeBuilder
    View Source

    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.

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