IConventionRelationshipBuilder.IsEagerLoaded Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Entity Framework