Class for putting and/or deleting a batch of items in a single DynamoDB table.
Exemplo n.º 1
0
 /// <summary>
 /// Add a DocumentBatchWrite object to the multi-table batch request.
 /// </summary>
 /// <param name="batch">DocumentBatchWrite to add.</param>
 public void AddBatch(DocumentBatchWrite batch)
 {
     Batches.Add(batch);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates a MultiTableDocumentBatchWrite object that is a combination
 /// of the current DocumentBatchWrite and the specified DocumentBatchWrite.
 /// </summary>
 /// <param name="otherBatch">Other DocumentBatchWrite object.</param>
 /// <returns>
 /// MultiTableDocumentBatchWrite consisting of the two DocumentBatchWrite
 /// objects.
 /// </returns>
 public MultiTableDocumentBatchWrite Combine(DocumentBatchWrite otherBatch)
 {
     return(new MultiTableDocumentBatchWrite(this, otherBatch));
 }