Interface IKeyGenerator
Key generator abstraction for generating unique IDs.
Replaces EF Core's automatic ID generation.
public interface IKeyGenerator
Methods
NextObjectIdBatchAsync(int)
Generate batch of object IDs for bulk operations.
Task<long[]> NextObjectIdBatchAsync(int count)
NextValueIdBatchAsync(int)
Generate batch of value IDs for bulk operations.
Task<long[]> NextValueIdBatchAsync(int count)