ConventionEntityTypeExtensions.RootType(IConventionEntityType) メソッド

定義

注意事項

Use GetRootType

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

[System.Obsolete("Use GetRootType")]
public static Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType RootType (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
[<System.Obsolete("Use GetRootType")>]
static member RootType : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
<Extension()>
Public Function RootType (entityType As IConventionEntityType) As IConventionEntityType

パラメーター

entityType
IConventionEntityType

ルートを検索する型。

戻り値

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

属性

適用対象