Udostępnij za pośrednictwem


RuntimeEntityType.IEntityType.FindIndex Metoda

Definicja

Przeciążenia

IEntityType.FindIndex(String)

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

IEntityType.FindIndex(IReadOnlyList<IReadOnlyProperty>)

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

IEntityType.FindIndex(String)

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

[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

Nazwa indeksu.

Zwraca

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

Implementuje

Atrybuty

Dotyczy

IEntityType.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.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>

Właściwości do znalezienia indeksu.

Zwraca

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

Implementuje

Atrybuty

Dotyczy