IReadOnlyEntityType.GetDerivedNavigations 方法

定义

获取从此实体类型派生的类型上声明的所有导航属性。

public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyNavigation> GetDerivedNavigations ();
abstract member GetDerivedNavigations : unit -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyNavigation>
Public Function GetDerivedNavigations () As IEnumerable(Of IReadOnlyNavigation)

返回

派生的导航属性。

注解

此方法不返回在给定实体类型本身上声明的导航属性。 用于 GetNavigations() 返回在此和基本实体类型类型上声明的导航属性。

适用于