IConventionRelationshipBuilder.CanSetIsEagerLoaded 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.
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
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
Entity Framework