IConventionNavigationBase.SetIsEagerLoaded 方法

定義

設定值,指出此流覽預設是否應積極式載入。

public virtual bool? SetIsEagerLoaded (bool? eagerLoaded, bool fromDataAnnotation = false);
abstract member SetIsEagerLoaded : Nullable<bool> * bool -> Nullable<bool>
override this.SetIsEagerLoaded : Nullable<bool> * bool -> Nullable<bool>
Public Overridable Function SetIsEagerLoaded (eagerLoaded As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Boolean)

參數

eagerLoaded
Nullable<Boolean>

值,指出此流覽是否應該預設為積極式載入。

fromDataAnnotation
Boolean

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

傳回

已設定的值。

適用於