Share via


RuntimeProperty.IReadOnlyProperty.ValueGenerated Property

Definition

Gets a value indicating when a value for this property will be generated by the database. Even when the property is set to be generated by the database, EF may still attempt to save a specific value (rather than having one generated by the database) when the entity is added and a value is assigned, or the property is marked as modified for an existing entity. See GetBeforeSaveBehavior() and GetAfterSaveBehavior() for more information and examples.

Microsoft.EntityFrameworkCore.Metadata.ValueGenerated Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty.ValueGenerated { [System.Diagnostics.DebuggerStepThrough] get; }
[<get: System.Diagnostics.DebuggerStepThrough>]
member this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty.ValueGenerated : Microsoft.EntityFrameworkCore.Metadata.ValueGenerated
 ReadOnly Property ValueGenerated As ValueGenerated Implements IReadOnlyProperty.ValueGenerated

Property Value

Implements

Attributes

Applies to