ConventionEntityTypeExtensions.RootType(IConventionEntityType) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
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
ルートを検索する型。
戻り値
ルートの基本型。 指定されたエンティティ型が派生型でない場合は、同じエンティティ型が返されます。
- 属性
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Entity Framework