Share via


EntityTypeExtensions.IsStrictlyDerivedFrom(IEntityType, IEntityType) メソッド

定義

このエンティティ型が特定のエンティティ型から派生した (ただし、同じではない) かどうかを判断します。

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は 。

適用対象