IEntityType.GetDerivedNavigations 方法

定义

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

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

返回

派生的导航属性。

注解

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

适用于