public static async Task BatchDeleteAsync(this CloudTable table, IEnumerable <ITableEntity> items) => await table.BatchExecuteAsync(items, (batch, item) => batch.Delete(item));
public static async Task BatchDeleteAsync(this CloudTable table, params ITableEntity[] items) => await table.BatchExecuteAsync(items, (batch, item) => batch.Delete(item));
public static async Task BatchInsertOrReplaceAsync(this CloudTable table, params ITableEntity[] items) => await table.BatchExecuteAsync(items, (batch, item) => batch.InsertOrReplace(item));