Search Results for

    Show / Hide Table of Contents
    View Source

    Interface ICreateIndexColumnOptionsBuilder

    Provides options for configuring a column when creating an index in a migration expression.

    Namespace: Umbraco.Cms.Infrastructure.Migrations.Expressions.Create.Index
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public interface ICreateIndexColumnOptionsBuilder : IFluentBuilder

    Methods

    View Source

    Ascending()

    Marks the index column to be sorted in ascending order.

    Declaration
    ICreateIndexOnColumnBuilder Ascending()
    Returns
    Type Description
    ICreateIndexOnColumnBuilder

    The builder to continue configuring the index column.

    View Source

    Descending()

    Specifies that the index column should be sorted in descending order.

    Declaration
    ICreateIndexOnColumnBuilder Descending()
    Returns
    Type Description
    ICreateIndexOnColumnBuilder

    The builder for configuring the index column.

    View Source

    Unique()

    Specifies that the index on this column should enforce uniqueness, ensuring that no duplicate values are allowed.

    Declaration
    ICreateIndexOnColumnBuilder Unique()
    Returns
    Type Description
    ICreateIndexOnColumnBuilder

    The builder instance for further index configuration.

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