RuntimeModel.IModel.FindEntityType Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
IModel.FindEntityType(String, String, IEntityType) |
Získá typ entity pro daný název, definuje název navigace a definující typ entity. Vrátí hodnotu |
IModel.FindEntityType(String) |
Získá entitu se zadaným názvem. Vrátí hodnotu |
IModel.FindEntityType(Type) |
Získá entitu, která mapuje danou třídu entity. Vrátí hodnotu |
IModel.FindEntityType(String, String, IEntityType)
Získá typ entity pro daný název, definuje název navigace a definující typ entity. Vrátí hodnotu null
, pokud nebyl nalezen žádný odpovídající typ entity.
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IEntityType? IModel.FindEntityType (string name, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IEntityType definingEntityType);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IEntityType IModel.FindEntityType (string name, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IEntityType definingEntityType);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IModel.FindEntityType : string * string * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.IEntityType
override this.Microsoft.EntityFrameworkCore.Metadata.IModel.FindEntityType : string * string * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.IEntityType
Function FindEntityType (name As String, definingNavigationName As String, definingEntityType As IEntityType) As IEntityType Implements IModel.FindEntityType
Parametry
- name
- String
Název typu entity, který chcete najít.
- definingNavigationName
- String
Definující navigace typu entity, která se má najít.
- definingEntityType
- IEntityType
Definující typ entity typu entity, který chcete najít.
Návraty
Typ entity nebo null
pokud nebyl nalezen žádný.
Implementuje
- Atributy
Platí pro
IModel.FindEntityType(String)
Získá entitu se zadaným názvem. Vrátí hodnotu null
, pokud není nalezen žádný typ entity s daným názvem nebo se daný typ CLR používá pro typ entity sdíleného typu nebo má typ entity definující navigaci.
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IEntityType? IModel.FindEntityType (string name);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IEntityType IModel.FindEntityType (string name);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IModel.FindEntityType : string -> Microsoft.EntityFrameworkCore.Metadata.IEntityType
override this.Microsoft.EntityFrameworkCore.Metadata.IModel.FindEntityType : string -> Microsoft.EntityFrameworkCore.Metadata.IEntityType
Function FindEntityType (name As String) As IEntityType Implements IModel.FindEntityType
Parametry
- name
- String
Název typu entity, který chcete najít.
Návraty
Typ entity nebo null
pokud nebyl nalezen žádný.
Implementuje
- Atributy
Platí pro
IModel.FindEntityType(Type)
Získá entitu, která mapuje danou třídu entity. Vrátí hodnotu null
, pokud není nalezen žádný typ entity s daným typem MODULU CLR nebo je daný typ CLR používán typem entity sdíleného typu nebo pokud má typ entity definující navigaci.
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IEntityType? IModel.FindEntityType (Type type);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IEntityType IModel.FindEntityType (Type type);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IModel.FindEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.IEntityType
override this.Microsoft.EntityFrameworkCore.Metadata.IModel.FindEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.IEntityType
Function FindEntityType (type As Type) As IEntityType Implements IModel.FindEntityType
Parametry
- type
- Type
Typ, pro který se má najít odpovídající typ entity.
Návraty
Typ entity nebo null
pokud nebyl nalezen žádný.
Implementuje
- Atributy
Platí pro
Entity Framework