IConventionSkipNavigation.SetInverse 方法

定义

设置反向跳过导航。

[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

参数

inverse
IConventionSkipNavigation

反向跳过导航。 传递 null 将导致未定义反向导航属性。

fromDataAnnotation
Boolean

指示配置是否是使用数据注释指定的。

返回

属性

适用于