Ejemplo n.º 1
0
 /// <summary>
 /// 判断该字段是否存在 hash 中
 /// </summary>
 /// <param name="redisKey"></param>
 /// <param name="hashField"></param>
 /// <returns></returns>
 public bool HashExists(string redisKey, string hashField)
 {
     redisKey = GetKeyForRedis(redisKey);
     return(_database.HashExists(redisKey, hashField));
 }