async Task IEfCoreBulkOperationProvider.UpdateManyAsync <TDbContext, TEntity>(IEfCoreRepository <TEntity> repository, IEnumerable <TEntity> entities, bool autoSave, CancellationToken cancellationToken)
        {
            var dbContext = await repository.GetDbContextAsync();

            await dbContext.BulkUpdateAsync(entities.ToList());

            if (autoSave)
            {
                await dbContext.SaveChangesAsync(cancellationToken);
            }
        }