NavigationExtensions.FindInverse(INavigation) Method

Definition

Caution

Use INavigation.Inverse

Caution

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

Parameters

navigation
INavigation

The navigation property to find the inverse of.

Returns

The inverse navigation, or null if none is defined.

Attributes

Applies to