Search Results for

    Show / Hide Table of Contents
    View Source

    Class DeleteIndexBuilder

    Provides a builder for constructing expressions that define the deletion of an index in a database migration.

    Inheritance
    object
    ExpressionBuilderBase<DeleteIndexExpression>
    Namespace: Umbraco.Cms.Infrastructure.Migrations.Expressions.Delete.Index
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class DeleteIndexBuilder : ExpressionBuilderBase<DeleteIndexExpression>, IDeleteIndexForTableBuilder, IFluentBuilder, IExecutableBuilder

    Constructors

    View Source

    DeleteIndexBuilder(DeleteIndexExpression)

    Initializes a new instance of the DeleteIndexBuilder class with the specified delete index expression.

    Declaration
    public DeleteIndexBuilder(DeleteIndexExpression expression)
    Parameters
    Type Name Description
    DeleteIndexExpression expression

    The DeleteIndexExpression that defines the index to be deleted.

    Methods

    View Source

    Do()

    Executes.

    Declaration
    public void Do()
    View Source

    OnTable(string)

    Specifies the table on which the index to be deleted exists.

    Declaration
    public IExecutableBuilder OnTable(string tableName)
    Parameters
    Type Name Description
    string tableName

    The name of the table containing the index.

    Returns
    Type Description
    IExecutableBuilder

    An executable builder to continue the migration expression.

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