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
-
IAnnotatableIReadOnlyAnnotatable
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
stringtable
Tablecolumns
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
Filter
public virtual string? Filter { get; }
Property Value
IsDescending
public virtual IReadOnlyList<bool>? IsDescending { get; }
Property Value
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
IsUnique
public virtual bool IsUnique { get; }
Property Value
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
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
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
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()