Redis Hash 基本操作

   public void StoreHash(string key,string value)
        {
            _redisClient.SetEntryInHash("test", key, value);
        }

        public void RemoveHash(string key)
        {
            _redisClient.RemoveEntryFromHash("test", key);
        }
         
        public List<string> AllHashValue()
        {
            return _redisClient.GetHashValues("test");
        }

        public string HashValue(string key)
        {
            return _redisClient.GetValueFromHash("test", key);            
        }
原文地址:https://www.cnblogs.com/CoreXin/p/4766440.html