Share via


ConventionNavigationExtensions.FindInverse(IConventionNavigation) Method

Definition

Caution

Use IConventionNavigation.Inverse

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.

public static Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation FindInverse (this Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation navigation);
[System.Obsolete("Use IConventionNavigation.Inverse")]
public static Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation FindInverse (this Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation navigation);
[System.Obsolete("Use IConventionNavigation.Inverse")]
public static Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation? FindInverse (this Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation navigation);
static member FindInverse : Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation -> Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation
[<System.Obsolete("Use IConventionNavigation.Inverse")>]
static member FindInverse : Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation -> Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation
<Extension()>
Public Function FindInverse (navigation As IConventionNavigation) As IConventionNavigation

Parameters

navigation
IConventionNavigation

The navigation property to find the inverse of.

Returns

The inverse navigation, or null if none is defined.

Attributes

Applies to