用CACHE 缓存哈希表 怎么写??
这样写对吗?把Hashtable 设置成全站点公用。
Hashtable ht= new Hashtable();
ht.Add( "name ", "yuna123 ");
Cache.Insert( "NameLib ",ht);
------解决方案--------------------------------------------------------
可以
1. ?tablemap cache策略以事务为单位进行局部cache,事务结束后清空tablemap cache,所以tableId的频繁增长不再会受到影响