Skip to main content
.NET 6.0+

ColumnDefaultValueAttribute Constructors

Applied to persistent class’ fields or properties. Specifies the default value of the database column mapped to the target property/field.
Name Parameters Description
ColumnDefaultValueAttribute(Int32, Int16, Int16, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte) guidPartA, guidPartB, guidPartC, guidPartD, guidPartE, guidPartF, guidPartG, guidPartH, guidPartI, guidPartJ, guidPartK Initializes a new instance of the ColumnDefaultValueAttribute class.
ColumnDefaultValueAttribute(Int32, Int32, Int32, Int32, Int32, Int32, Int32) dateYear, dateMonth, dateDay, dateHour, dateMinute, dateSecond, dateMillisecond Initializes a new instance of the ColumnDefaultValueAttribute class.
ColumnDefaultValueAttribute(Object) defaultValue Initializes a new instance of the ColumnDefaultValueAttribute class.
See Also