Skip to content

ColumnAutoIncrementAttribute Class ​

Definition ​

Defines additional metadata for auto incrementing numeric database columns, including seed and max value

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

Constructors ​

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

Properties ​

NameDescription
FillFactorFill Factor for the auto-generated index. (Default: 0)
MaxMaximum allowable value
NoAutoIndexSet true to prevent automatic creation of an Index on the auto incrementing column
SeedOptional seed/start value. Defaults to 1.