| SequenceControllerGetSequenceNumber Method |
Draws a number from a sequence and returns it.
If the sequence is "Relaxed", the number is pulled in a separate new
short-running transaction to increase the throughput when multiple threads
need sequence numbers. The cost is that object numbers are not consecutive
(holes in the sequence) in case of a rollback of a main transaction.
Namespace:
Omada.OE.AppLogic
Assembly:
Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntaxpublic virtual int GetSequenceNumber(
int sequenceId
)
Parameters
- sequenceId
- Type: SystemInt32
Return Value
Type:
Int32
See Also