Esempio n. 1
0
 /// <summary>
 /// Execute the operation against GSM in the current transaction scope.
 /// </summary>
 /// <param name="ts">Transaction scope.</param>
 /// <returns>
 /// Results of the operation.
 /// </returns>
 public override IStoreResults DoGlobalExecute(IStoreTransactionScope ts)
 {
     return(ts.ExecuteOperation(
                StoreOperationRequestBuilder.SpLockOrUnLockShardMappingsGlobal,
                StoreOperationRequestBuilder.LockOrUnLockShardMappingsGlobal(
                    _shardMap,
                    _mapping,
                    _lockOwnerId,
                    _lockOpType)));
 }