Language

IConventionPropertyBuilder.IsAutoLoaded Method

Definition

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

autoLoaded
Nullable<Boolean>

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.

Applies to