Skip to content

ColumnInfoAttribute Constructors ​

Definition ​

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

ColumnInfoAttribute(DataValueType dataType, string name = null, bool nullable = null, string default = null, string comment = null) ​

csharp
ColumnInfoAttribute(DataValueType dataType, string name = null, bool nullable = null, string default = null, string comment = null)

Default constructor – allows per-property 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.
nameSets the Name of the database column
nullableSets whether the column allows null values.