IMutableEntityType.GetDerivedNavigations Method

Definition

Gets all navigation properties declared on the types derived from this entity type.

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

Returns

Derived navigation properties.

Remarks

This method does not return navigation properties declared on the given entity type itself. Use GetNavigations() to return navigation properties declared on this and base entity typed types.

Applies to