Appearance
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
| Name | Description |
|---|---|
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
| Name | Description |
|---|---|
FillFactor | Fill Factor for the auto-generated index. (Default: 0) |
Max | Maximum allowable value |
NoAutoIndex | Set true to prevent automatic creation of an Index on the auto incrementing column |
Seed | Optional seed/start value. Defaults to 1. |