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
Filter
Gets the expression used as the index filter.
string Filter { get; }
Property Value
IsUnique
Gets a value indicating whether the index enforces uniqueness.
bool IsUnique { get; }
Property Value
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
Table
Gets the table on with the index is declared.
ITable Table { get; }