MutableEntityTypeExtensions.GetNavigations(IMutableEntityType) Method

Definition

Gets all navigation properties on the given entity type.

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation> GetNavigations (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
static member GetNavigations : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation>
<Extension()>
Public Function GetNavigations (entityType As IMutableEntityType) As IEnumerable(Of IMutableNavigation)

Parameters

entityType
IMutableEntityType

The entity type.

Returns

All navigation properties on the given entity type.

Applies to