Udostępnij za pośrednictwem


RuntimeEntityType.IReadOnlyEntityType.FindIndex Metoda

Definicja

Przeciążenia

IReadOnlyEntityType.FindIndex(String)

Pobiera indeks o podanej nazwie. Zwraca wartość null , jeśli taki indeks nie istnieje.

IReadOnlyEntityType.FindIndex(IReadOnlyList<IReadOnlyProperty>)

Pobiera nienazwany indeks zdefiniowany we podanych właściwościach. Zwraca wartość null , jeśli taki indeks nie jest zdefiniowany.

IReadOnlyEntityType.FindIndex(String)

Pobiera indeks o podanej nazwie. Zwraca wartość null , jeśli taki indeks nie istnieje.

[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

Nazwa indeksu do znalezienia.

Zwraca

Indeks lub null jeśli żaden z nich nie zostanie znaleziony.

Implementuje

Atrybuty

Dotyczy

IReadOnlyEntityType.FindIndex(IReadOnlyList<IReadOnlyProperty>)

Pobiera nienazwany indeks zdefiniowany we podanych właściwościach. Zwraca wartość null , jeśli taki indeks nie jest zdefiniowany.

[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>

Właściwości do znalezienia indeksu.

Zwraca

Indeks lub null jeśli żaden z nich nie zostanie znaleziony.

Implementuje

Atrybuty

Dotyczy