Appearance
ColumnDateTimeAttribute Constructors
Definition
- Namespace:
JASE.Database - Assembly:
JASE.Database.dll
Overloads
| Name | Description |
|---|---|
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
| Name | Description |
|---|---|
comment | Sets the SQL Comment used if a table is created |
default | Sets the default value assigned to the column, used during table creation or schema modification. |
max | Optional maximum datetime value for semantic or validation use. |
min | Optional minimum datetime value for semantic or validation use. |
name | Sets the Name of the database column |
nullable | Sets whether the column allows null values. |
precision | SQL datetime precision (number of fractional seconds digits). Typical values: 0–7 depending on database support. |