Sdílet prostřednictvím


RuntimeModel.IReadOnlyModel.FindEntityType Metoda

Definice

Přetížení

IReadOnlyModel.FindEntityType(String)

Získá typ entity s daný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.

IReadOnlyModel.FindEntityType(String, String, IReadOnlyEntityType)

Získá typ entity pro daný základní název, definuje název navigace a definující typ entity. Vrátí hodnotu null , pokud nebyl nalezen žádný odpovídající typ entity.

IReadOnlyModel.FindEntityType(Type, String, IReadOnlyEntityType)

Získá typ entity pro daný typ, definuje název navigace a definující typ entity. Vrátí hodnotu null , pokud nebyl nalezen žádný odpovídající typ entity.

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

IReadOnlyModel.FindEntityType(String)

Získá typ entity s daný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.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

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

Návraty

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

Implementuje

Atributy

Platí pro

IReadOnlyModel.FindEntityType(String, String, IReadOnlyEntityType)

Získá typ entity pro daný základní 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.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

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

definingNavigationName
String

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

definingEntityType
IReadOnlyEntityType

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

Návraty

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

Implementuje

Atributy

Platí pro

IReadOnlyModel.FindEntityType(Type, String, IReadOnlyEntityType)

Získá typ entity pro daný typ, 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.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 entity, který chcete najít.

definingNavigationName
String

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

definingEntityType
IReadOnlyEntityType

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

Návraty

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

Implementuje

Atributy

Platí pro

IReadOnlyModel.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.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, 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