Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/knourian/sequential-guid
NuGet Package to generate SQL Server Friendly Sequential Guid
https://github.com/knourian/sequential-guid
csharp guid netcore nuget nuget-package sequenctial-guid
Last synced: 3 days ago
JSON representation
NuGet Package to generate SQL Server Friendly Sequential Guid
- Host: GitHub
- URL: https://github.com/knourian/sequential-guid
- Owner: knourian
- License: bsl-1.0
- Created: 2022-08-24T06:12:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-24T02:43:43.000Z (almost 2 years ago)
- Last Synced: 2024-12-02T22:36:39.139Z (about 1 month ago)
- Topics: csharp, guid, netcore, nuget, nuget-package, sequenctial-guid
- Language: C#
- Homepage: https://www.nuget.org/packages/Knourian.SequentialGuid
- Size: 32.2 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sequential-Guid
NuGet Package to generate SQL Server Friendly Sequential Guid
## Usage
1. Get Next Guid
```csharp
using SequentialGuid;public void ExampleMethod()
{
var guid = GuidInstance.Next();
}
```2. Get Current Guid
```csharp
using SequentialGuid;public void ExampleMethod()
{
var guid = GuidInstance.GetCurrentGuid();
}
```3. Seed First Guid
```csharp
using SequentialGuid;public void ExampleMethod()
{
var guid = GuidInstance.SetSeed(Guid.NewGuid());
}
```