NavigationExtensions.FindInverse(INavigation) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework