Continuing work started by @davidroberts63 in PR #69
Summary of changes
New Class
Added an AzTableBatchOperation class that wraps the [Microsoft.Azure.Cosmos.Table.TableBatchOperation] class. It keeps a separate instance for each partition of the table, since operating on multiple partitions is not supported in one batch operation.
Functions
New functions
New-AzTableBatch
Creates and returns (and optionally populates) a new AzTableBatchOperation class to use with subsequent commands.
Invoke-AzTableBatch
Iterates over each partition in the AzTableBatchOperation object and invokes the related batch operation
Updated functions
Add-AzTableRow
Update-AzTableRow
Remove-AzTableRow
These functions now support passing an AzTableBatchOperation object instead of a table object
Tests
New tests for New-AzTableBatch and Invoke-AzTableBatch.
Updated tests for the existing functions to test batch functionality
Docs
Updated docs for existing functions and added new docs for New-AzTableBatch and Invoke-AzTableBatch
Hopefully this is helpful. Please let me know if there's anything you'd like changed.
TableBatchOperation Support
Continuing work started by @davidroberts63 in PR #69
Summary of changes
New Class
Added an AzTableBatchOperation class that wraps the [Microsoft.Azure.Cosmos.Table.TableBatchOperation] class. It keeps a separate instance for each partition of the table, since operating on multiple partitions is not supported in one batch operation.
Functions
New functions
Updated functions
These functions now support passing an AzTableBatchOperation object instead of a table object
Tests
New tests for New-AzTableBatch and Invoke-AzTableBatch.
Updated tests for the existing functions to test batch functionality
Docs
Updated docs for existing functions and added new docs for New-AzTableBatch and Invoke-AzTableBatch
Hopefully this is helpful. Please let me know if there's anything you'd like changed.