Example #1
0
        public PageList <T> Query(int pageIndex, int pageSize, BaseSearchParam param = null)
        {
            var util = param?.ToSearchUtil() ?? new MySearchUtil();

            return(Db.Query <T>(pageIndex, pageSize, util));
        }
Example #2
0
        public List <T> Fetch(BaseSearchParam param = null)
        {
            var util = param?.ToSearchUtil() ?? new MySearchUtil();

            return(Db.Fetch <T>(util));
        }