示例#1
0
 public void Remove(string key)
 {
     CacheContext.Remove(key);
 }
示例#2
0
 public bool Create(string key, T val, DateTime expire)
 {
     //设置缓存
     return(CacheContext.Set <T>(key, val, expire));
 }