다음을 통해 공유


EntityTypeExtensions.IsInOwnershipPath(IEntityType, IEntityType) 메서드

정의

지정된 엔터티 형식이 이 엔터티 형식의 소유권 경로에 있는지 여부를 나타내는 값을 가져옵니다.

public static bool IsInOwnershipPath (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.IEntityType targetType);
static member IsInOwnershipPath : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> bool
<Extension()>
Public Function IsInOwnershipPath (entityType As IEntityType, targetType As IEntityType) As Boolean

매개 변수

entityType
IEntityType

엔터티 형식입니다.

targetType
IEntityType

소유권 경로에서 검색할 엔터티 형식입니다.

반환

true가 의 entityType소유권 경로에 있으면 targetType 이고, 그렇지 않으면 false입니다.

적용 대상