diff --git a/src/EFCore/ValueGeneration/HiLoValueGenerator.cs b/src/EFCore/ValueGeneration/HiLoValueGenerator.cs index e3da34b5760..27a5a633879 100644 --- a/src/EFCore/ValueGeneration/HiLoValueGenerator.cs +++ b/src/EFCore/ValueGeneration/HiLoValueGenerator.cs @@ -54,7 +54,7 @@ public override TValue Next(EntityEntry entry) public override ValueTask NextAsync( EntityEntry entry, CancellationToken cancellationToken = default) - => _generatorState.NextAsync(GetNewLowValueAsync); + => _generatorState.NextAsync(GetNewLowValueAsync, cancellationToken); /// /// Gets the low value for the next block of values to be used.