SequenceAttribute.Create Constructor
Overloads
SequenceAttribute.Create(string)
Creates a SequenceAttribute using default initial value (1) and increment (1).
Syntax
Unit: Aurelius.Mapping.Attributes
constructor SequenceAttribute.Create(const SequenceName: string);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | SequenceName | string | The name of the sequence or generator in the database. |
See also
SequenceAttribute.Create(string, Integer, Integer)
Creates a SequenceAttribute with explicit initial value and increment.
Syntax
Unit: Aurelius.Mapping.Attributes
constructor SequenceAttribute.Create(const SequenceName: string; InitialValue: Integer; Increment: Integer);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | SequenceName | string | The name of the sequence or generator in the database. |
| InitialValue | Integer | The starting value of the sequence. Default is 1. | |
| Increment | Integer | The amount by which the sequence is incremented each time a new value is retrieved. Default is 1. |