Search Results for

    Show / Hide Table of Contents
    View Source

    Interface ICreateConstraintColumnsBuilder

    Provides a builder interface for specifying columns when creating a database constraint in a migration expression.

    Namespace: Umbraco.Cms.Infrastructure.Migrations.Expressions.Create.Constraint
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public interface ICreateConstraintColumnsBuilder : IFluentBuilder

    Methods

    View Source

    Column(string)

    Specifies the name of the column to which the constraint will be applied in the migration.

    Declaration
    IExecutableBuilder Column(string columnName)
    Parameters
    Type Name Description
    string columnName

    The name of the column to specify for the constraint.

    Returns
    Type Description
    IExecutableBuilder

    An IExecutableBuilder to execute the next step in the migration.

    View Source

    Columns(string[])

    Specifies the constraint columns.

    Declaration
    IExecutableBuilder Columns(string[] columnNames)
    Parameters
    Type Name Description
    string[] columnNames
    Returns
    Type Description
    IExecutableBuilder
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX