Search Results for

    Show / Hide Table of Contents
    View Source

    Interface ICreateTableWithColumnBuilder

    Provides a builder interface for defining columns when creating a new table as part of a database migration.

    Namespace: Umbraco.Cms.Infrastructure.Migrations.Expressions.Create.Table
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public interface ICreateTableWithColumnBuilder : IFluentBuilder, IExecutableBuilder

    Methods

    View Source

    WithColumn(string)

    Adds a new column with the specified name to the table being created.

    Declaration
    ICreateTableColumnAsTypeBuilder WithColumn(string name)
    Parameters
    Type Name Description
    string name

    The name of the column to add.

    Returns
    Type Description
    ICreateTableColumnAsTypeBuilder

    An ICreateTableColumnAsTypeBuilder to specify the column type and constraints.

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