コード例 #1
0
 /// <summary>
 /// 移除hash中的多个值
 /// </summary>
 /// <param name="key"></param>
 /// <param name="dataKeys"></param>
 /// <returns></returns>
 public async Task <long> HashDeleteAsync(string key, List <string> dataKeys)
 {
     return(await QuickHelperBase.HashDeleteAsync(key, dataKeys.ToArray()));
 }
コード例 #2
0
 /// <summary>
 /// 移除hash中的某值
 /// </summary>
 /// <param name="key"></param>
 /// <param name="dataKey"></param>
 /// <returns></returns>
 public async Task <bool> HashDeleteAsync(string key, string dataKey)
 {
     return(await QuickHelperBase.HashDeleteAsync(key, dataKey) >= 0);
 }