語言

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

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

傳回

設定值。

適用於