View Source
Class CreateIndexBuilder
Inheritance
System.Object
Assembly: Umbraco.Infrastructure.dll
Syntax
public class CreateIndexBuilder : ExpressionBuilderBase<CreateIndexExpression>, ICreateIndexForTableBuilder, ICreateIndexOnColumnBuilder, IExecutableBuilder, ICreateIndexColumnOptionsBuilder, ICreateIndexOptionsBuilder, IFluentBuilder
Constructors
View Source
CreateIndexBuilder(CreateIndexExpression)
Declaration
public CreateIndexBuilder(CreateIndexExpression expression)
Parameters
Properties
View Source
CurrentColumn
Declaration
public IndexColumnDefinition CurrentColumn { get; set; }
Property Value
Methods
View Source
Ascending()
Declaration
public ICreateIndexOnColumnBuilder Ascending()
Returns
View Source
Clustered()
Declaration
public ICreateIndexOnColumnBuilder Clustered()
Returns
View Source
Descending()
Declaration
public ICreateIndexOnColumnBuilder Descending()
Returns
View Source
Do()
Declaration
View Source
NonClustered()
Declaration
public ICreateIndexOnColumnBuilder NonClustered()
Returns
View Source
OnColumn(String)
Specifies the index column.
Declaration
public ICreateIndexColumnOptionsBuilder OnColumn(string columnName)
Parameters
Type |
Name |
Description |
System.String |
columnName |
|
Returns
View Source
OnTable(String)
Declaration
public ICreateIndexOnColumnBuilder OnTable(string tableName)
Parameters
Type |
Name |
Description |
System.String |
tableName |
|
Returns
View Source
WithOptions()
Declaration
public ICreateIndexOptionsBuilder WithOptions()
Returns
Explicit Interface Implementations
View Source
ICreateIndexColumnOptionsBuilder.Unique()
Declaration
ICreateIndexOnColumnBuilder ICreateIndexColumnOptionsBuilder.Unique()
Returns
View Source
ICreateIndexOptionsBuilder.Unique()
Declaration
ICreateIndexOnColumnBuilder ICreateIndexOptionsBuilder.Unique()
Returns