private void addList(String key, IList objList) { if (objList == null) { return; } addToContext(key, objList); foreach (IEntity obj in objList) { ContextCache.Put(CacheKey.getObject(obj.GetType(), obj.Id), obj); } CacheTime.updateList(key); }
//--------------------------------------------------- private void addToContext(String key, Object val) { ContextCache.Put(key, val); logger.Debug("ctx_cache_+=>" + key); }