RuntimeModel.FindAdHocEntityType(Type) Methode

Definition

Ruft den Entitätstyp mit dem angegebenen Namen ab. Gibt zurück null , wenn kein Entitätstyp mit dem angegebenen Namen als Ad-hoc-Typ zugeordnet wurde.

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

Parameter

clrType
Type

Der CLR-Typ des zu suchenden Entitätstyps.

Gibt zurück

Der Entitätstyp oder null , wenn keiner gefunden wurde.

Gilt für: