Skip to main content
.NET 6.0+

ColumnDefaultValueAttribute Properties

Applied to persistent class’ fields or properties. Specifies the default value of the database column mapped to the target property/field.
Name Description
DefaultValue 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