ConventionNavigationExtensions Class

Definition

Caution

Use IConventionNavigation

Extension methods for IConventionNavigation.

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

Methods

FindInverse(IConventionNavigation)
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.

GetIsEagerLoadedConfigurationSource(IConventionNavigation)

Returns the configuration source for IsEagerLoaded(INavigation).

GetTargetType(IConventionNavigation)
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).

SetIsEagerLoaded(IConventionNavigation, Nullable<Boolean>, Boolean)

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

Applies to