Share via


IConventionRelationshipBuilder.IsEagerLoaded Method

Definition

Configures whether this navigation should be eager loaded by default.

public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder IsEagerLoaded (bool? eagerLoaded, bool pointsToPrincipal, bool fromDataAnnotation = false);
abstract member IsEagerLoaded : Nullable<bool> * bool * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder
Public Function IsEagerLoaded (eagerLoaded As Nullable(Of Boolean), pointsToPrincipal As Boolean, Optional fromDataAnnotation As Boolean = false) As IConventionRelationshipBuilder

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

The same builder instance if the configuration was applied, null otherwise.

Applies to