Delen via


IConventionSkipNavigation.SetInverse Method

Definition

Sets the inverse skip navigation.

[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

Parameters

inverse
IConventionSkipNavigation

The inverse skip navigation. Passing null will result in there being no inverse navigation property defined.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

Attributes

Applies to