Sdílet prostřednictvím


IMutableModel.FindEntityType Metoda

Definice

Přetížení

FindEntityType(Type, String, IMutableEntityType)

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.

FindEntityType(String, String, IMutableEntityType)

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.

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.

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.

FindEntityType(Type, String, IMutableEntityType)

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.

public virtual Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType? FindEntityType (Type type, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType definingEntityType);
abstract member FindEntityType : Type * string * Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
override this.FindEntityType : Type * string * Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
Public Overridable Function FindEntityType (type As Type, definingNavigationName As String, definingEntityType As IMutableEntityType) As IMutableEntityType

Parametry

type
Type

Typ entity, který chcete najít.

definingNavigationName
String

Definující navigace typu entity, která se má najít.

definingEntityType
IMutableEntityType

Definující typ entity typu entity, který chcete najít.

Návraty

Typ entity nebo null pokud nebyl nalezen žádný.

Platí pro

FindEntityType(String, String, IMutableEntityType)

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.

public Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType FindEntityType (string name, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType definingEntityType);
public Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType? FindEntityType (string name, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType definingEntityType);
abstract member FindEntityType : string * string * Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
Public Function FindEntityType (name As String, definingNavigationName As String, definingEntityType As IMutableEntityType) As IMutableEntityType

Parametry

name
String

Název typu entity, který chcete najít.

definingNavigationName
String

Definující navigace typu entity, která se má najít.

definingEntityType
IMutableEntityType

Definující typ entity typu entity, který chcete najít.

Návraty

Typ entity nebo null pokud nebyl nalezen žádný.

Platí pro

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.

public Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType FindEntityType (string name);
public Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType? FindEntityType (string name);
abstract member FindEntityType : string -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
Public Function FindEntityType (name As String) As IMutableEntityType

Parametry

name
String

Název typu entity, který chcete najít.

Návraty

Typ entity nebo null pokud nebyl nalezen žádný.

Platí pro

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.

public virtual Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType? FindEntityType (Type type);
abstract member FindEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
override this.FindEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
Public Overridable Function FindEntityType (type As Type) As IMutableEntityType

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

Platí pro