Source/NFX/DataAccess/IUniqueSequenceProvider.cs
/// <summary>
/// Tries to generate many consecutive IDs. If the reserved block gets exhausted, then the returned ID count may be less than requested.
/// </summary>
/// <param name="scopeName">The name of scope where sequences are kept</param>
/// <param name="sequenceName">The name of sequence within the scope for which ID to be obtained</param>
/// <param name="idCount">How many Consecutive IDs should the system try to reserve</param>
/// <param name="vicinity">The location on ID counter scale, the issuing authority may disregard this parameter</param>
/// <param name="noLWM">
///  When true, does not start async fetch of the next ID block while the current block reaches low-water-mark.
///  This may not be desired in some short-lived processes.
///  The provider may disregard this flag
/// </param>
/// <returns>The first uniqueID along with the number of Consecutive IDs that the system could allocate which can be less than requested number of IDs</returns>
Tries to generate many consecutive IDs. If the reserved block gets exhausted, then the returned ID count may be less than requested.
Tries to generate many consecutive IDs . If the reserved block gets exhausted then the returned ID count may be less than requested .
ConsecutiveUniqueSequenceIDs TryGenerateManyConsecutiveSequenceIDs(string scopeName,
                                                                           string sequenceName,
                                                                           int idCount,
                                                                           ulong? vicinity = ulong.MaxValue,
                                                                           bool noLWM = false);
ConsecutiveUniqueSequenceIDs TryGenerateManyConsecutiveSequenceIDs ( string scopeName , string sequenceName , int idCount , ulong ? vicinity = ulong . MaxValue , bool noLWM = false ) ;
Tries to generate many consecutive IDs.
Tries to generate many consecutive IDs .
The first uniqueID along with the number of Consecutive IDs that the system could allocate which can be less than requested number of IDs
The first uniqueID along with the number of Consecutive IDs that the system could allocate which can be less than requested number of IDs
scopeName
string
The name of scope where sequences are kept
The name of scope where sequences are kept
sequenceName
string
The name of sequence within the scope for which ID to be obtained
The name of sequence within the scope for which ID to be obtained
idCount
int
None
vicinity
ulong?
The location on ID counter scale, the issuing authority may disregard this parameter
The location on ID counter scale the issuing authority may disregard this parameter
noLWM
bool
When true, does not start async fetch of the next ID block while the current block reaches low-water-mark.
This may not be desired in some short-lived processes.
The provider may disregard this flag
When true does not start async fetch of the next ID block while the current block reaches low - water - mark . This may not be desired in some short - lived processes . The provider may disregard this flag