Class SequentialGuid
- Namespace
- ArcanaDevelopment.adTempus.Shared
- Assembly
- ArcanaDevelopment.adTempus.Shared.dll
Generates GUIDs that sort in ascending order in SQL Server, similar to NEWSEQUENTIALID().
public static class SequentialGuid
- Inheritance
-
objectSequentialGuid
Remarks
The leading 8 bytes are random. The trailing 8 bytes hold a strictly increasing UTC-tick counter laid out in SQL Server's uniqueidentifier comparison order (bytes 10-15, then 8-9).
Methods
NewGuid()
Creates a new GUID that is greater than any GUID previously returned by this process.
public static Guid NewGuid()
Returns
- Guid