Compartilhar via


IConventionSkipNavigation.SetInverse Método

Definição

Define a navegação inversa de ignorar.

[System.Diagnostics.DebuggerStepThrough]
public Microsoft.EntityFrameworkCore.Metadata.IConventionSkipNavigation SetInverse (Microsoft.EntityFrameworkCore.Metadata.IConventionSkipNavigation inverse, bool fromDataAnnotation = false);
[System.Diagnostics.DebuggerStepThrough]
public Microsoft.EntityFrameworkCore.Metadata.IConventionSkipNavigation? SetInverse (Microsoft.EntityFrameworkCore.Metadata.IConventionSkipNavigation? inverse, bool fromDataAnnotation = false);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member SetInverse : Microsoft.EntityFrameworkCore.Metadata.IConventionSkipNavigation * bool -> Microsoft.EntityFrameworkCore.Metadata.IConventionSkipNavigation
Public Function SetInverse (inverse As IConventionSkipNavigation, Optional fromDataAnnotation As Boolean = false) As IConventionSkipNavigation

Parâmetros

inverse
IConventionSkipNavigation

O inverso ignora a navegação. Passar null resultará em nenhuma propriedade de navegação inversa definida.

fromDataAnnotation
Boolean

Indica se a configuração foi especificada usando uma anotação de dados.

Retornos

Atributos

Aplica-se a