次の方法で共有


RuntimeModel.FindAdHocEntityType(Type) メソッド

定義

指定した名前のエンティティ型を取得します。 指定した名前の null エンティティ型がアドホック型としてマップされていない場合は を返します。

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

パラメーター

clrType
Type

検索するエンティティ型の CLR 型。

戻り値

エンティティの種類。何 null も見つからない場合は 。

適用対象