예제 #1
0
 /// <summary>
 /// 移除实体
 /// </summary>
 /// <param name="id">实体标识</param>
 public void Remove(TKey id)
 {
     _store.Remove(id);
 }
예제 #2
0
        /// <summary>
        /// 从Redis库中删除
        /// </summary>
        /// <param name="redisSignal"></param>
        public static void Remove(this RedisSignal redisSignal)
        {
            var key = redisSignal.GetKey();

            PersistentStore.Remove(key);
        }