다음을 통해 공유


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 에서 파생되는 경우 entityType (하지만 와 같지 않음) baseType이고, 그렇지 않으면 false입니다.

적용 대상