Share via


NavigationExtensions Class

Definition

Caution

Use IReadOnlyNavigation

Extension methods for IReadOnlyNavigation.

public static class NavigationExtensions
[System.Obsolete("Use IReadOnlyNavigation")]
public static class NavigationExtensions
type NavigationExtensions = class
[<System.Obsolete("Use IReadOnlyNavigation")>]
type NavigationExtensions = class
Public Module NavigationExtensions
Inheritance
NavigationExtensions
Attributes

Methods

FindInverse(INavigation)
Obsolete.
Obsolete.

Gets the navigation property on the other end of the relationship. Returns null if there is no navigation property defined on the other end of the relationship.

GetCollectionAccessor(INavigation)

Gets the IClrCollectionAccessor for this navigation property, which must be a collection navigation.

GetTargetType(INavigation)
Obsolete.
Obsolete.

Gets the entity type that a given navigation property will hold an instance of (or hold instances of if it is a collection navigation).

IsCollection(INavigation)
Obsolete.
Obsolete.

Gets a value indicating whether the given navigation property is a collection property.

IsDependentToPrincipal(INavigation)
Obsolete.
Obsolete.

Gets a value indicating whether the given navigation property is the navigation property on the dependent entity type that points to the principal entity.

IsEagerLoaded(INavigation)
Obsolete.
Obsolete.

Gets a value indicating whether this navigation should be eager loaded by default.

ToDebugString(INavigation, MetadataDebugStringOptions, Int32)

Creates a human-readable representation of the given metadata.

Warning: Do not rely on the format of the returned string. It is designed for debugging only and may change arbitrarily between releases.

Applies to