예제 #1
0
        internal Task ExecuteHelperAsync(CancellationToken cancellationToken)
        {
            MultiBatchWrite multiBatchWrite = new MultiBatchWrite
            {
                Batches = Batches
            };

            return(multiBatchWrite.WriteItemsAsync(cancellationToken));
        }
예제 #2
0
        internal void ExecuteHelper()
        {
            MultiBatchWrite multiBatchWrite = new MultiBatchWrite
            {
                Batches = Batches
            };

            multiBatchWrite.WriteItems();
        }
예제 #3
0
        internal void ExecuteHelper(bool isAsync)
        {
            MultiBatchWrite multiBatchWrite = new MultiBatchWrite
            {
                Batches = Batches
            };

            multiBatchWrite.WriteItems(isAsync);
        }
예제 #4
0
        internal Task ExecuteHelperAsync(CancellationToken cancellationToken)
        {
            MultiBatchWrite multiBatchWrite = new MultiBatchWrite
            {
                Batches = new List <DocumentBatchWrite> {
                    this
                }
            };

            return(multiBatchWrite.WriteItemsAsync(cancellationToken));
        }
예제 #5
0
        internal void ExecuteHelper()
        {
            MultiBatchWrite multiBatchWrite = new MultiBatchWrite
            {
                Batches = new List <DocumentBatchWrite> {
                    this
                }
            };

            multiBatchWrite.WriteItems();
        }