語言

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

表示配置是否以資料註解方式指定。

傳回

屬性

適用於