Skip to content

ColumnAutoIncrementAttribute Constructors ​

Definition ​

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

Overloads ​

NameDescription
ColumnAutoIncrementAttribute()Default constructor – allows per-property configuration.
ColumnAutoIncrementAttribute(string name = null, bool nullable = null, object default = null, string comment = null, int max = null, int seed = null)Constructor allowing named parameters

ColumnAutoIncrementAttribute() ​

csharp
ColumnAutoIncrementAttribute()

Default constructor – allows per-property configuration.

ColumnAutoIncrementAttribute(string name = null, bool nullable = null, object default = null, string comment = null, int max = null, int seed = null) ​

csharp
ColumnAutoIncrementAttribute(string name = null, bool nullable = null, object default = null, string comment = null, int max = null, int seed = null)

Constructor allowing named parameters

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.
maxSet the maximum allowed value
nameSets the Name of the database column
nullableSets whether the column allows null values.
seedSet the seed from which to start incrementing