Interface ICreateIndexForTableBuilder
Provides a fluent interface for building and configuring an index on a database table during a migration.
Namespace: Umbraco.Cms.Infrastructure.Migrations.Expressions.Create.Index
Assembly: Umbraco.Infrastructure.dll
Syntax
public interface ICreateIndexForTableBuilder : IFluentBuilder
Methods
View SourceOnTable(string)
Specifies the table on which the index will be created.
Declaration
ICreateIndexOnColumnBuilder OnTable(string tableName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | tableName | The name of the table. |
Returns
| Type | Description |
|---|---|
| ICreateIndexOnColumnBuilder | An ICreateIndexOnColumnBuilder to define the index columns. |