Skip to content

ColumnDateTimeAttribute Constructors ​

Definition ​

  • Namespace: JASE.Database
  • Assembly: JASE.Database.dll

Overloads ​

NameDescription
ColumnDateTimeAttribute()Default constructor – allows per-property configuration.
ColumnDateTimeAttribute(string name = null, bool nullable = null, object default = null, string comment = null, int precision = null, string min = null, string max = null)Initializes a new instance of the ColumnDateTimeAttribute class with optional configuration.

ColumnDateTimeAttribute() ​

csharp
ColumnDateTimeAttribute()

Default constructor – allows per-property configuration.

ColumnDateTimeAttribute(string name = null, bool nullable = null, object default = null, string comment = null, int precision = null, string min = null, string max = null) ​

csharp
ColumnDateTimeAttribute(string name = null, bool nullable = null, object default = null, string comment = null, int precision = null, string min = null, string max = null)

Initializes a new instance of the ColumnDateTimeAttribute class with optional configuration.

Parameters ​

NameDescription
commentSets the SQL Comment used if a table is created
defaultSets the default value assigned to the column, used during table creation or schema modification.
maxOptional maximum datetime value for semantic or validation use.
minOptional minimum datetime value for semantic or validation use.
nameSets the Name of the database column
nullableSets whether the column allows null values.
precisionSQL datetime precision (number of fractional seconds digits). Typical values: 0–7 depending on database support.