IReadOnlyEntityType.IsInOwnershipPath(IReadOnlyEntityType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
Submit and view feedback for