private void DoBatch(List <Action> batch) { try { _tableStore.BeginUnitOfWork(_table); foreach (var action in batch) { action(); } _tableStore.Commit(_table); } catch { _tableStore.Rollback(_table); throw; } }