Sdílet prostřednictvím


RuntimeEntityType.IReadOnlyEntityType.FindIndex Metoda

Definice

Přetížení

IReadOnlyEntityType.FindIndex(String)

Získá index s daným názvem. Vrátí hodnotu null , pokud takový index neexistuje.

IReadOnlyEntityType.FindIndex(IReadOnlyList<IReadOnlyProperty>)

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

IReadOnlyEntityType.FindIndex(String)

Získá index s daným názvem. Vrátí hodnotu null , pokud takový index neexistuje.

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

Parametry

name
String

Název indexu, který se má najít.

Návraty

Index nebo null pokud nebyl nalezen žádný.

Implementuje

Atributy

Platí pro

IReadOnlyEntityType.FindIndex(IReadOnlyList<IReadOnlyProperty>)

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

[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex? IReadOnlyEntityType.FindIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex IReadOnlyEntityType.FindIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType.FindIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType.FindIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex
Function FindIndex (properties As IReadOnlyList(Of IReadOnlyProperty)) As IReadOnlyIndex Implements IReadOnlyEntityType.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