//--------------------------------------------------- private static Object getFromContext(String key) { Object obj = ContextCache.Get(key); if (obj != null) { logger.Debug("ctx_cache_get=>" + key); } return(obj); }
//--------------------------------------------------- private static Object getFromContext(String key) { Object obj = null; try { obj = ContextCache.Get(key); } catch { } if (obj != null) { logger.Info("ctx_cache_get=>" + key); } return(obj); }
public IList FindBySql(String sql, Type t) { return(ContextCache.Get(sql) as IList); }