internal void ExecuteHelper(bool isAsync) { MultiBatchGet resultsObject = new MultiBatchGet { Batches = new List <DocumentBatchGet> { this } }; var results = resultsObject.GetItemsHelper(isAsync); Results = results[TargetTable.TableName]; }
internal void ExecuteHelper(bool isAsync) { MultiBatchGet resultsObject = new MultiBatchGet { Batches = Batches }; var results = resultsObject.GetItemsHelper(isAsync); foreach (var batch in Batches) { List <Document> batchResults; if (results.TryGetValue(batch.TargetTable.TableName, out batchResults)) { batch.Results = batchResults; } else { batch.Results = new List <Document>(); } } }
internal void ExecuteHelper(bool isAsync) { MultiBatchGet resultsObject = new MultiBatchGet { Batches = Batches }; var results = resultsObject.GetItemsHelper(isAsync); foreach (var batch in Batches) { List<Document> batchResults; if (results.TryGetValue(batch.TargetTable.TableName, out batchResults)) { batch.Results = batchResults; } else { batch.Results = new List<Document>(); } } }
internal void ExecuteHelper(bool isAsync) { MultiBatchGet resultsObject = new MultiBatchGet { Batches = new List<DocumentBatchGet> { this } }; var results = resultsObject.GetItemsHelper(isAsync); Results = results[TargetTable.TableName]; }