Example #1
0
        //---------------------------------------------------

        private static Object getFromContext(String key)
        {
            Object obj = ContextCache.Get(key);

            if (obj != null)
            {
                logger.Debug("ctx_cache_get=>" + key);
            }
            return(obj);
        }
Example #2
0
 public IList FindBySql(String sql, Type t)
 {
     return(ContextCache.Get(sql) as IList);
 }