Table of Contents

Interface ITableIndex

Namespace
Microsoft.EntityFrameworkCore.Metadata
Assembly
Microsoft.EntityFrameworkCore.Relational.dll

Represents a table index.

public interface ITableIndex : IAnnotatable
Extension Methods

Properties

Columns

Gets the columns that are participating in the index.

IReadOnlyList<IColumn> Columns { get; }

Property Value

IReadOnlyList<IColumn>

Filter

Gets the expression used as the index filter.

string Filter { get; }

Property Value

string

IsUnique

Gets a value indicating whether the index enforces uniqueness.

bool IsUnique { get; }

Property Value

bool

MappedIndexes

Gets the mapped indexes.

IEnumerable<IIndex> MappedIndexes { get; }

Property Value

IEnumerable<IIndex>

Name

Gets the name of the index.

string Name { get; }

Property Value

string

Table

Gets the table on with the index is declared.

ITable Table { get; }

Property Value

ITable