Skip to main content
.NET 6.0+

ColumnDbDefaultValueAttribute Properties

Applied to persistent class’ fields or properties. Specifies the SQL expression representing the default value of the database column mapped to the target property/field.
Name Description
DbDefaultValue Specifies the default value of the database column mapped to the target property/field.
TypeId When implemented in a derived class, gets a unique identifier for this Attribute. Inherited from Attribute.
See Also