Compartilhar via


NavigationExtensions.FindInverse(INavigation) Método

Definição

Cuidado

Use INavigation.Inverse

Cuidado

Use IReadOnlyNavigation.Inverse

Obtém a propriedade de navegação na outra extremidade da relação. Retornará nulo se não houver nenhuma propriedade de navegação definida na outra extremidade da relação.

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

Parâmetros

navigation
INavigation

A propriedade de navegação da qual localizar o inverso.

Retornos

A navegação inversa ou null se nenhuma estiver definida.

Atributos

Aplica-se a