Database operation interfaces of sequence. More...
Public Member Functions | |
| BsonDocument | Fetch (int fetchNum) |
| Fetch a bulk of continuous values. | |
| long | GetCurrentValue () |
| Get the current value of sequence. | |
| long | GetNextValue () |
| Get the next value of sequence. | |
| void | Restart (long startValue) |
| Restart sequence from the given value. | |
| void | SetAttributes (BsonDocument options) |
| Alter sequence. | |
| void | SetCurrentValue (long value) |
| Set the current value to sequence. | |
Properties | |
| string | Name [get] |
| Return the name of current sequence. | |
Database operation interfaces of sequence.
|
inline |
Fetch a bulk of continuous values.
| fetchNum | The number of values to be fetched |
| SequoiaDB.BaseException | |
| System.Exception |
|
inline |
Get the current value of sequence.
| SequoiaDB.BaseException | |
| System.Exception |
|
inline |
Get the next value of sequence.
| SequoiaDB.BaseException | |
| System.Exception |
|
inline |
Restart sequence from the given value.
| startValue | The start value. |
| SequoiaDB.BaseException | |
| System.Exception |
|
inline |
Alter sequence.
| options | The options specified by user, details as bellow:
|
| SequoiaDB.BaseException | |
| System.Exception |
|
inline |
Set the current value to sequence.
| value | The expected current value |
| SequoiaDB.BaseException | |
| System.Exception |
|
get |
Return the name of current sequence.
1.8.2