IConventionPropertyBuilder.IsAutoLoaded 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 property is automatically loaded when the entity is queried from the database.
public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder? IsAutoLoaded(bool? autoLoaded, bool fromDataAnnotation = false);
abstract member IsAutoLoaded : Nullable<bool> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder
Public Function IsAutoLoaded (autoLoaded As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false) As IConventionPropertyBuilder
Parameters
A value indicating whether this property is automatically loaded.
null to reset to default.
- fromDataAnnotation
- Boolean
Indicates whether the configuration was specified using a data annotation.
Returns
The same builder instance if the configuration was applied,
null otherwise.