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