If there are enough cached values in the sequence handle then they will be returned. Otherwise the next value will be fetched from the database and incremented (decremented) by enough to cover the delta and the next batch of cached values.

By default, sequence ranges do not wrap; to cause the sequence to wrap around the beginning or end of its range, set Wrap to true.

Overload List

  NameDescription
Get(Int32)
Return the next available element in the sequence and change the sequence value by Delta.
Get(Int32, Transaction)
Return the next available element in the sequence and change the sequence value by Delta.
Get(Int32, Boolean)
Return the next available element in the sequence and change the sequence value by Delta.

See Also