Share via


IConventionRelationshipBuilder.CanSetIsEagerLoaded Method

Definition

Returns a value indicating whether this navigation can be configured as should be eager loaded by default from the current configuration source.

public bool CanSetIsEagerLoaded (bool? eagerLoaded, bool pointsToPrincipal, bool fromDataAnnotation = false);
abstract member CanSetIsEagerLoaded : Nullable<bool> * bool * bool -> bool
Public Function CanSetIsEagerLoaded (eagerLoaded As Nullable(Of Boolean), pointsToPrincipal As Boolean, Optional fromDataAnnotation As Boolean = false) As Boolean

Parameters

eagerLoaded
Nullable<Boolean>

A value indicating whether this navigation should be eager loaded by default.

pointsToPrincipal
Boolean

A value indicating whether the navigation is on the dependent type pointing to the principal type.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

true if this navigation can be configured as should be eager loaded by default.

Applies to