示例#1
0
 public void ZAdd(string key, Dictionary <double, string> scoreVals)
 {
     _cnn.DoBatchWithIDDic(RequestType.ZADD, key, scoreVals);
 }
示例#2
0
 /// <summary>
 /// 同时将多个 field-value (域-值)对设置到哈希表 key 中
 /// </summary>
 /// <param name="hid"></param>
 /// <param name="keyvalues"></param>
 public void HMSet(string hid, Dictionary <string, string> keyvalues)
 {
     RedisConnection.DoBatchWithIDDic(RequestType.HMSET, hid, keyvalues);
 }