MutableEntityTypeExtensions.GetRootType(IMutableEntityType) メソッド

定義

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

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

パラメーター

entityType
IMutableEntityType

エンティティの型。

戻り値

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

適用対象