摘要: 1 /// <summary> 2 /// Redis 有序集合 3 /// </summary> 4 public static void Redis_SetSorted() 5 { 6 RedisClient client = new RedisClient("127.0.0.1", 6379) 阅读全文
posted @ 2021-01-14 14:12 幽冥狂_七 阅读(666) 评论(0) 推荐(0) 编辑
摘要: 1 /// <summary> 2 /// redis 无序集合 3 /// </summary> 4 public static void Redis_Set() 5 { 6 RedisClient client = new RedisClient("127.0.0.1", 6379); 7 // 阅读全文
posted @ 2021-01-14 14:09 幽冥狂_七 阅读(634) 评论(0) 推荐(0) 编辑
摘要: 1 /// <summary> 2 /// Redis Hash 3 /// </summary> 4 public static void Redis_Hash() 5 { 6 RedisClient client = new RedisClient("127.0.0.1", 6379); 7 / 阅读全文
posted @ 2021-01-14 14:08 幽冥狂_七 阅读(1254) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// Redis 列表 /// </summary> public static void Redis_List() { RedisClient client = new RedisClient("127.0.0.1", 6379); //清空数据库缓存,慎用 clie 阅读全文
posted @ 2021-01-14 14:07 幽冥狂_七 阅读(2318) 评论(0) 推荐(1) 编辑
摘要: 1 /// <summary> 2 /// Redis String 操作 3 /// </summary> 4 public static void Redis_String() 5 { 6 RedisClient client = new RedisClient("127.0.0.1", 637 阅读全文
posted @ 2021-01-14 14:04 幽冥狂_七 阅读(421) 评论(0) 推荐(0) 编辑