Language

IConventionPropertyBuilder.CanSetIsAutoLoaded Method

Definition

Returns a value indicating whether the property can be configured as auto-loaded from the current configuration source.

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

Parameters

autoLoaded
Nullable<Boolean>

A value indicating whether this property is auto-loaded.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

true if the auto-loaded can be configured for this property.

Applies to