Sdílet prostřednictvím


RuntimeModel.FindAdHocEntityType(Type) Metoda

Definice

Získá typ entity s daným názvem. Vrátí hodnotu null , pokud nebyl jako ad hoc namapován žádný typ entity s daným názvem.

public virtual Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType? FindAdHocEntityType (Type clrType);
abstract member FindAdHocEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType
override this.FindAdHocEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType
Public Overridable Function FindAdHocEntityType (clrType As Type) As RuntimeEntityType

Parametry

clrType
Type

Typ CLR typu entity, který se má najít.

Návraty

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

Platí pro