Appearance
GuidExtensions Class
Definition
Extensions for the Guid object
- Namespace:
JASE.Extensions - Assembly:
JASE.IdGenerator.dll
Methods
| Name | Description |
|---|---|
bool IsSqlComb(Guid uuid) | Returns TRUE if the UUID matches the JASE SQL Server COMB layout (RFC 9562 version 8). |
bool IsV7(Guid uuid) | Returns TRUE if the UUID passes basic V7 validity checks |
bool TryConvertToSqlComb(Guid uuid, out Guid comb) | Try to rewrite an RFC 9562 UUIDv7 as a JASE SQL Server COMB with the same timestamp and entropy. |
bool TryConvertToV7(Guid uuid, out Guid v7) | Try to rewrite a JASE SQL Server COMB as an RFC 9562 UUIDv7 with the same timestamp and entropy. |
bool TryGetSqlCombTimestampUtc(Guid uuid, out DateTimeOffset timestampUtc) | Try to extract the embedded UTC timestamp from a JASE SQL Server COMB (RFC 9562 version 8). |
bool TryGetV7TimestampUtc(Guid uuid, out DateTimeOffset timestampUtc) | Try to extract the embedded UTC timestamp from a UUIDv7. |