Table of Contents

Class TableIndex

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

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public class TableIndex : Annotatable, ITableIndex, IAnnotatable, IReadOnlyAnnotatable
Inheritance
TableIndex
Implements
IAnnotatable
IReadOnlyAnnotatable

Constructors

TableIndex(string, Table, IReadOnlyList<Column>, bool)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public TableIndex(string name, Table table, IReadOnlyList<Column> columns, bool unique)

Parameters

name string
table Table
columns IReadOnlyList<Column>
unique bool

Properties

Columns

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual IReadOnlyList<Column> Columns { get; }

Property Value

IReadOnlyList<Column>

Filter

public virtual string? Filter { get; }

Property Value

string

IsDescending

public virtual IReadOnlyList<bool>? IsDescending { get; }

Property Value

IReadOnlyList<bool>

IsReadOnly

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public override bool IsReadOnly { get; }

Property Value

bool

IsUnique

public virtual bool IsUnique { get; }

Property Value

bool

MappedIndexes

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual SortedSet<IIndex> MappedIndexes { get; }

Property Value

SortedSet<IIndex>

Name

public virtual string Name { get; }

Property Value

string

Table

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual Table Table { get; }

Property Value

Table

Methods

GetRowIndexValueFactory()

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual IRowIndexValueFactory GetRowIndexValueFactory()

Returns

IRowIndexValueFactory

ToString()

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public override string ToString()

Returns

string