GuidGenerationStrategy Enum
Specifies the strategy used by the generated New() method to create new Guid values.
public enum GuidGenerationStrategyFields
| Name | Value | Description |
|---|---|---|
None | 0 | No New() method is generated. |
Version4 | 1 | Creates a random UUID (version 4) using Guid.NewGuid. This is the strategy used when the property is not set. |
Version7 | 2 | Creates a time-ordered UUID (version 7) using Guid.CreateVersion7(). Requires .NET 9 or later. |