Share via


SqlServerModelAnnotations.ValueGenerationStrategy Property

Definition

The SqlServerValueGenerationStrategy to use for properties of keys in the model, unless the property has a different strategy explicitly set.

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