共用方式為


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

指出是否已使用資料批註指定組態。

傳回

屬性

適用於