IReadOnlyEntityType.IsInOwnershipPath(IReadOnlyEntityType) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得值,指出指定的實體類型是否在這個實體類型的擁有權路徑中。
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
為 。