Search Results for

    Show / Hide Table of Contents
    View Source

    Interface ICreateIndexOptionsBuilder

    Provides a builder interface for specifying options when creating an index as part of a database migration.

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

    Methods

    View Source

    Clustered()

    Marks the index as clustered.

    Declaration
    ICreateIndexOnColumnBuilder Clustered()
    Returns
    Type Description
    ICreateIndexOnColumnBuilder

    The ICreateIndexOnColumnBuilder instance for further index configuration.

    View Source

    NonClustered()

    Specifies that the index should be created as non-clustered.

    Declaration
    ICreateIndexOnColumnBuilder NonClustered()
    Returns
    Type Description
    ICreateIndexOnColumnBuilder

    An ICreateIndexOnColumnBuilder to specify the columns for the index.

    View Source

    Unique()

    Specifies that the index to be created should enforce uniqueness.

    Declaration
    ICreateIndexOnColumnBuilder Unique()
    Returns
    Type Description
    ICreateIndexOnColumnBuilder

    An ICreateIndexOnColumnBuilder to continue building the index.

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