ColumnOperation.DefaultValueSql Property

Definition

The SQL expression to use as the default constraint when creating the column, or null if there is no default constraint.

C#
public virtual string DefaultValueSql { get; set; }
C#
public virtual string? DefaultValueSql { get; set; }

Property Value

Applies to

Produkt Versioner
Entity Framework Core 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0