ColumnDbDefaultValueAttribute Class
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.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.1.dll
NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo
NuGet Package: DevExpress.Xpo
Declaration
Remarks
Pass an SQL expression to this attribute. The expression is then passed to the CREATE TABLE and ALTER TABLE statements when updating the database schema.
See Also