public override void Commit()
 {
     _storage.UseTransaction(session =>
     {
         foreach (var command in _commandQueue)
         {
             command(session);
             session.Flush();
         }
     }, _storage.Options.TransactionIsolationLevel);
 }
 public override void Commit()
 {
     _storage.UseTransaction(session =>
     {
         foreach (var command in _commandQueue)
         {
             command(session);
             session.Flush();
         }
     });
 }