/// <summary> /// Asynchronously execute the operation against GSM in the current transaction scope. /// </summary> /// <param name="ts">Transaction scope.</param> /// <returns> /// Task encapsulating results of the operation. /// </returns> public override async Task <IStoreResults> DoGlobalExecuteAsync(IStoreTransactionScope ts) { // If no ranges are specified, blindly mark everything for deletion. return(await ts.ExecuteOperationAsync( StoreOperationRequestBuilder.SpFindShardMappingByKeyGlobal, StoreOperationRequestBuilder.FindShardMappingByKeyGlobal(_shardMap, _key))); }
/// <summary> /// Asynchronously execute the operation against GSM in the current transaction scope. /// </summary> /// <param name="ts">Transaction scope.</param> /// <returns> /// Task encapsulating results of the operation. /// </returns> public override async Task<IStoreResults> DoGlobalExecuteAsync(IStoreTransactionScope ts) { // If no ranges are specified, blindly mark everything for deletion. return await ts.ExecuteOperationAsync( StoreOperationRequestBuilder.SpFindShardMappingByKeyGlobal, StoreOperationRequestBuilder.FindShardMappingByKeyGlobal(_shardMap, _key)); }