IReadOnlyEntityType.IsInOwnershipPath(IReadOnlyEntityType) Method

Definition

Gets a value indicating whether given entity type is in ownership path for this entity type.

public virtual bool IsInOwnershipPath (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType targetType);
abstract member IsInOwnershipPath : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> bool
override this.IsInOwnershipPath : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> bool
Public Overridable Function IsInOwnershipPath (targetType As IReadOnlyEntityType) As Boolean

Parameters

targetType
IReadOnlyEntityType

Entity type to search for in ownership path.

Returns

true if targetType is in ownership path of this entity type, otherwise false.

Applies to