Share via


SqlServerPropertyAnnotations.ValueGenerationStrategy Property

Definition

Gets or sets the SqlServerValueGenerationStrategy to use for the property.

If no strategy is set for the property, then the strategy to use will be taken from the IModel

public virtual Microsoft.EntityFrameworkCore.Metadata.SqlServerValueGenerationStrategy? ValueGenerationStrategy { get; set; }
member this.ValueGenerationStrategy : Nullable<Microsoft.EntityFrameworkCore.Metadata.SqlServerValueGenerationStrategy> with get, set
Public Overridable Property ValueGenerationStrategy As Nullable(Of SqlServerValueGenerationStrategy)

Property Value

Applies to