EntityTypeExtensions.IsStrictlyDerivedFrom(IEntityType, IEntityType) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
このエンティティ型が特定のエンティティ型から派生した (ただし、同じではない) かどうかを判断します。
public static bool IsStrictlyDerivedFrom (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.IEntityType baseType);
static member IsStrictlyDerivedFrom : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> bool
<Extension()>
Public Function IsStrictlyDerivedFrom (entityType As IEntityType, baseType As IEntityType) As Boolean
パラメーター
- entityType
- IEntityType
エンティティの型。
- baseType
- IEntityType
基本型の 場合にチェックするエンティティ型entityType
。
戻り値
true
が から派生する (ただし、 と同じではない) baseType
場合entityType
は 。それ以外の場合false
は 。
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Entity Framework