redisDatabase.HashSet(SearchKey, new HashEntry[] { new HashEntry("StockCode", result["code"].ToString()), new HashEntry("StockName", result["name"].ToString()), new HashEntry("SearchTime", DateTime.Now.ToString()), new HashEntry("SearchCount", redisDatabase.HashGet(SearchKey, "SearchCount")+1) });
StackExchange.Redis插入哈希多个键值对
猜你喜欢
转载自blog.csdn.net/qq_38890412/article/details/105539703
今日推荐
周排行