RuntimeModel.IReadOnlyModel.FindEntityType 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
IReadOnlyModel.FindEntityType(String) |
Pobiera typ jednostki o podanej nazwie. Zwraca wartość |
IReadOnlyModel.FindEntityType(String, String, IReadOnlyEntityType) |
Pobiera typ jednostki dla danej nazwy podstawowej, definiując nazwę nawigacji i definiujący typ jednostki. Zwraca wartość |
IReadOnlyModel.FindEntityType(Type, String, IReadOnlyEntityType) |
Pobiera typ jednostki dla danego typu, definiując nazwę nawigacji i definiujący typ jednostki. Zwraca wartość |
IReadOnlyModel.FindEntityType(Type) |
Pobiera jednostkę, która mapuje daną klasę jednostki. Zwraca wartość |
IReadOnlyModel.FindEntityType(String)
Pobiera typ jednostki o podanej nazwie. Zwraca wartość null
, jeśli nie znaleziono typu jednostki o podanej nazwie lub dany typ CLR jest używany przez typ jednostki typu współużytkowanego lub typ jednostki ma zdefiniowaną nawigację.
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType? IReadOnlyModel.FindEntityType (string name);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType IReadOnlyModel.FindEntityType (string name);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel.FindEntityType : string -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel.FindEntityType : string -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
Function FindEntityType (name As String) As IReadOnlyEntityType Implements IReadOnlyModel.FindEntityType
Parametry
- name
- String
Nazwa typu jednostki do znalezienia.
Zwraca
Typ jednostki lub null
jeśli nie zostanie znaleziony żaden.
Implementuje
- Atrybuty
Dotyczy
IReadOnlyModel.FindEntityType(String, String, IReadOnlyEntityType)
Pobiera typ jednostki dla danej nazwy podstawowej, definiując nazwę nawigacji i definiujący typ jednostki. Zwraca wartość null
, jeśli nie znaleziono pasującego typu jednostki.
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType? IReadOnlyModel.FindEntityType (string name, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType definingEntityType);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType IReadOnlyModel.FindEntityType (string name, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType definingEntityType);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel.FindEntityType : string * string * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel.FindEntityType : string * string * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
Function FindEntityType (name As String, definingNavigationName As String, definingEntityType As IReadOnlyEntityType) As IReadOnlyEntityType Implements IReadOnlyModel.FindEntityType
Parametry
- name
- String
Nazwa typu jednostki do znalezienia.
- definingNavigationName
- String
Definiowanie nawigacji typu jednostki do znalezienia.
- definingEntityType
- IReadOnlyEntityType
Definiowanie typu jednostki typu jednostki do znalezienia.
Zwraca
Typ jednostki lub null
jeśli nie zostanie znaleziony żaden.
Implementuje
- Atrybuty
Dotyczy
IReadOnlyModel.FindEntityType(Type, String, IReadOnlyEntityType)
Pobiera typ jednostki dla danego typu, definiując nazwę nawigacji i definiujący typ jednostki. Zwraca wartość null
, jeśli nie znaleziono pasującego typu jednostki.
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType? IReadOnlyModel.FindEntityType (Type type, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType definingEntityType);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType IReadOnlyModel.FindEntityType (Type type, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType definingEntityType);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel.FindEntityType : Type * string * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel.FindEntityType : Type * string * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
Function FindEntityType (type As Type, definingNavigationName As String, definingEntityType As IReadOnlyEntityType) As IReadOnlyEntityType Implements IReadOnlyModel.FindEntityType
Parametry
- type
- Type
Typ jednostki do znalezienia.
- definingNavigationName
- String
Definiowanie nawigacji typu jednostki do znalezienia.
- definingEntityType
- IReadOnlyEntityType
Definiowanie typu jednostki typu jednostki do znalezienia.
Zwraca
Typ jednostki lub null
jeśli nie zostanie znaleziony żaden.
Implementuje
- Atrybuty
Dotyczy
IReadOnlyModel.FindEntityType(Type)
Pobiera jednostkę, która mapuje daną klasę jednostki. Zwraca wartość null
, jeśli nie znaleziono żadnego typu jednostki z danym typem CLR lub dany typ CLR jest używany przez typ jednostki typu współużytkowanego lub typ jednostki ma zdefiniowaną nawigację.
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType? IReadOnlyModel.FindEntityType (Type type);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType IReadOnlyModel.FindEntityType (Type type);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel.FindEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel.FindEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
Function FindEntityType (type As Type) As IReadOnlyEntityType Implements IReadOnlyModel.FindEntityType
Parametry
- type
- Type
Typ do znalezienia odpowiedniego typu jednostki.
Zwraca
Typ jednostki lub null
jeśli nie zostanie znaleziony żaden.
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