public void Rollback()
        {
            if (RedisClient.Transaction == null)
            {
                throw new InvalidOperationException("There is no current transaction to Rollback");
            }

            RedisClient.Transaction = null;
            RedisClient.ClearTypeIdsRegisteredDuringPipeline();
        }
예제 #2
0
 internal void ClearTypeIdsRegisteredDuringPipeline()
 {
     client.ClearTypeIdsRegisteredDuringPipeline();
 }