Example #1
0
 public void MSet(Dictionary <string, string> dic)
 {
     _cnn.DoBatchWithDic(RequestType.MSET, dic);
 }
Example #2
0
 /// <summary>
 /// 当且仅当所有给定键都不存在时, 为所有给定键设置值
 /// </summary>
 /// <param name="dic"></param>
 public void MSetNx(Dictionary <string, string> dic)
 {
     RedisConnection.DoBatchWithDic(RequestType.MSETNX, dic);
 }