예제 #1
0
파일: ContextPool.cs 프로젝트: g82tt/xcore
        //---------------------------------------------------

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

            if (obj != null)
            {
                logger.Debug("ctx_cache_get=>" + key);
            }
            return(obj);
        }
예제 #2
0
        //---------------------------------------------------

        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);
        }
예제 #3
0
파일: ContextPool.cs 프로젝트: g82tt/xcore
 public IList FindBySql(String sql, Type t)
 {
     return(ContextCache.Get(sql) as IList);
 }