Sdílet prostřednictvím


RuntimeEntityType.IEntityType.FindIndex Metoda

Definice

Přetížení

IEntityType.FindIndex(String)

Získá index se zadaným názvem. Vrátí hodnotu null , pokud žádný takový index neexistuje.

IEntityType.FindIndex(IReadOnlyList<IReadOnlyProperty>)

Získá nepojmenovaný index definovaný na dané vlastnosti. Vrátí hodnotu null , pokud není definován žádný takový index.

IEntityType.FindIndex(String)

Získá index se zadaným názvem. Vrátí hodnotu null , pokud žádný takový index neexistuje.

[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IIndex? IEntityType.FindIndex (string name);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IIndex IEntityType.FindIndex (string name);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindIndex : string -> Microsoft.EntityFrameworkCore.Metadata.IIndex
override this.Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindIndex : string -> Microsoft.EntityFrameworkCore.Metadata.IIndex
Function FindIndex (name As String) As IIndex Implements IEntityType.FindIndex

Parametry

name
String

Název indexu.

Návraty

Index nebo null pokud nebyl nalezen žádný.

Implementuje

Atributy

Platí pro

IEntityType.FindIndex(IReadOnlyList<IReadOnlyProperty>)

Získá nepojmenovaný index definovaný na dané vlastnosti. Vrátí hodnotu null , pokud není definován žádný takový index.

[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IIndex? IEntityType.FindIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IIndex IEntityType.FindIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> Microsoft.EntityFrameworkCore.Metadata.IIndex
override this.Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> Microsoft.EntityFrameworkCore.Metadata.IIndex
Function FindIndex (properties As IReadOnlyList(Of IReadOnlyProperty)) As IIndex Implements IEntityType.FindIndex

Parametry

properties
IReadOnlyList<IReadOnlyProperty>

Vlastnosti, ve které se má index najít.

Návraty

Index nebo null pokud nebyl nalezen žádný.

Implementuje

Atributy

Platí pro