Share via


IReadOnlyEntityType.IsInOwnershipPath(IReadOnlyEntityType) メソッド

定義

指定されたエンティティ型がこのエンティティ型の所有権パスにあるかどうかを示す値を取得します。

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

パラメーター

targetType
IReadOnlyEntityType

所有権パスで検索するエンティティの種類。

戻り値

true がこのエンティティ型の所有権パスにある場合 targetType は 。それ以外の場合 falseは 。

適用対象