JHStaticCache(T) Methods

DCSoft.DBUtilityGeneric

JHStaticCacheT Methods

The JHStaticCacheT generic type exposes the following members.

Methods
  Name Description
Public method Static member Clear
清空所有的缓存
Public method Static member Get
获取指定主键的缓存数据,如果不存在或过期则返回指定类型的默认值(default(T))
Public method Static member Insert
插入一条缓存,如果存在则更新,否则添加
Public method Static member Remove
删除指定缓存主键对应的缓存
Top
See Also