MutableEntityTypeExtensions.RootType(IMutableEntityType) メソッド

定義

注意事項

Use GetRootType

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

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

パラメーター

entityType
IMutableEntityType

ルートを検索する型。

戻り値

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

属性

適用対象