MutableNavigationExtensions.FindInverse(IMutableNavigation) Method

Definition

Caution

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

Parameters

navigation
IMutableNavigation

The navigation property to find the inverse of.

Returns

The inverse navigation, or null if none is defined.

Attributes

Applies to