RelationalPropertyExtensions.SetIsStored 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.
Overloads
SetIsStored(IMutableProperty, Nullable<Boolean>) |
Sets whether the value of the computed column this property is mapped to is stored in the database, or calculated when it is read. |
SetIsStored(IConventionProperty, Nullable<Boolean>, Boolean) |
Sets whether the value of the computed column this property is mapped to is stored in the database, or calculated when it is read. |
SetIsStored(IMutableProperty, Nullable<Boolean>)
Sets whether the value of the computed column this property is mapped to is stored in the database, or calculated when it is read.
public static void SetIsStored (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, bool? value);
static member SetIsStored : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * Nullable<bool> -> unit
<Extension()>
Public Sub SetIsStored (property As IMutableProperty, value As Nullable(Of Boolean))
Parameters
- property
- IMutableProperty
The property.
Applies to
SetIsStored(IConventionProperty, Nullable<Boolean>, Boolean)
Sets whether the value of the computed column this property is mapped to is stored in the database, or calculated when it is read.
public static bool? SetIsStored (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, bool? value, bool fromDataAnnotation = false);
static member SetIsStored : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * Nullable<bool> * bool -> Nullable<bool>
<Extension()>
Public Function SetIsStored (property As IConventionProperty, value As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Boolean)
Parameters
- property
- IConventionProperty
The property.
- fromDataAnnotation
- Boolean
Indicates whether the configuration was specified using a data annotation.
Returns
The configured value.
Applies to
Entity Framework