IConventionProperty.SetIsAutoLoaded(Nullable<Boolean>, Boolean) 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.
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
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.