Method TryGenerateKeysInAmbientTransactionAsync(int)
The single-writer bypass: the same atomic sequence bump, but on the scope's own
connection INSIDE its BEGIN IMMEDIATE - the write lock is already ours, so there is
no waiting and no self-deadlock. The keys deliberately do NOT enter the shared
cache. A rollback takes the sequence bump back together with the transaction, but
the ids stay with whoever got them (an object the application saves again), so
every later range starts above the highest id handed out ().
protected override Task<List<long>?> TryGenerateKeysInAmbientTransactionAsync(int count)