Skip to content

ColumnDateTimeAttribute Class ​

Definition ​

Provides extended metadata for datetime-based columns, including SQL precision and optional value bounds.

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

Constructors ​

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.

Properties ​

NameDescription
MaxThe maximum acceptable value for this datetime column, for future validation or schema insight.
MinThe minimum acceptable value for this datetime column, for future validation or schema insight.
PrecisionDefines the SQL-level datetime precision, typically 0–7 for fractional seconds (if supported by provider).