Exemple #1
0
        public static DataSet GetDataSetCache <D, T, Key>(this BizBase <D, T, Key> objBizBase, string dependencyKey, bool isCache, string condition, MySqlParameter[] parms, string sortExpression, string fields = "*") where D : DalBase <T, Key> where T : class, new()
        {
            TimeSpan expiry = new TimeSpan(0, ConfigHelper.GetIntValue("PageCacheMinutes", 60), 0);

            return(objBizBase.GetDataSetCache <D, T, Key>(dependencyKey, isCache, expiry, condition, parms, sortExpression, fields));
        }
Exemple #2
0
 public static DataSet GetDataSetCache <D, T, Key>(this BizBase <D, T, Key> objBizBase, string dependencyKey, bool isCache, TimeSpan expiry, string condition, string sortExpression, string fields = "*") where D : DalBase <T, Key> where T : class, new()
 {
     return(objBizBase.GetDataSetCache <D, T, Key>(dependencyKey, isCache, expiry, condition, null, sortExpression, fields));
 }