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

            RedisClient.Transaction = null;
            RedisClient.ClearTypeIdsRegisteredDuringPipeline();
        }