The SequenceConfig type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SequenceConfig | Initializes a new instance of the SequenceConfig class |
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the type of the current instance. (Inherited from Object.) | |
SetRange |
Set the minimum and maximum values in the sequence.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
BackingDatabase |
An open database which holds the persistent data for the sequence.
| |
Creation |
The policy for how to handle sequence creation.
| |
FreeThreaded |
If true, the object returned by the Sequence constructor will be
free-threaded; that is, usable by multiple threads within a single
address space. Note that if multiple threads create multiple
sequences using the same BackingDatabase, that
database must have also been opened free-threaded.
| |
key |
The record in the database that stores the persistent sequence data.
| |
Wrap |
If true, the sequence should wrap around when it is incremented
(decremented) past the specified maximum (minimum) value.
|
Properties
Name | Description | |
---|---|---|
CacheSize |
The number of elements cached by a sequence handle.
| |
Decrement |
If true, the sequence will be decremented.
| |
Increment |
If true, the sequence will be incremented. This is the default.
| |
InitialValue |
The initial value for a sequence.
| |
Max |
The maximum value in the sequence.
| |
Min |
The minimum value in the sequence.
|