TechSmith/hyde — pull request #30 by mmcgill (2012-11-27 14:25:54+00:00)
Title: Support for Entity Group Transactions

This set of commits introduces support for Entity Group Transactions via new options that can be passed to TableStorageProvider.Save().

`Execute.Individually` is the default, and the old behavior; each pending operation is executed as an individual request.

`Execute.InBatches` is intended as a performance enhancement. Where possible, consecutive operations on the same partition key are executed as Entity Group Transactions for efficiency.

`Execute.Atomically` attempts to execute all pending options as a single Entity Group Transaction and throws an InvalidOperationException if it is not possible to do so (e.g. because too many rows are updated).

Note that `Execute.Atomically` is currently not supported by the `MemoryTableContext`. If desired, I can add support to this pull request.