Language

IConventionProperty.SetIsAutoLoaded(Nullable<Boolean>, Boolean) Method

Definition

Sets a value indicating whether this property is automatically loaded when the entity is queried from the database.

public bool? SetIsAutoLoaded(bool? autoLoaded, bool fromDataAnnotation = false);
abstract member SetIsAutoLoaded : Nullable<bool> * bool -> Nullable<bool>
Public Function SetIsAutoLoaded (autoLoaded As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Boolean)

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 configured value.

Applies to