RuntimeEntityType.IEntityType.FindIndex Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
IEntityType.FindIndex(String) |
Pobiera indeks o podanej nazwie. Zwraca wartość |
IEntityType.FindIndex(IReadOnlyList<IReadOnlyProperty>) |
Pobiera nienazwany indeks zdefiniowany we podanych właściwościach. Zwraca wartość |
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
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla