次の方法で共有


ConventionEntityTypeExtensions.GetRootType(IConventionEntityType) メソッド

定義

特定のエンティティ型のルート基本型を取得します。

public static Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType GetRootType (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
static member GetRootType : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
<Extension()>
Public Function GetRootType (entityType As IConventionEntityType) As IConventionEntityType

パラメーター

entityType
IConventionEntityType

エンティティの型。

戻り値

ルートの基本型。 指定されたエンティティ型が派生型でない場合は、同じエンティティ型が返されます。

適用対象