Exemple #1
0
        public int GetCount()
        {
            ICPagerDao td     = (ICPagerDao)ComponentLocator.Instance().Resolve(key, typeof(ICPagerDao));
            int        result = td.GetCount(this.key, this.condition);

            return(result);
        }
Exemple #2
0
        public DataSet GetDataSet()
        {
            ICPagerDao td = (ICPagerDao)ComponentLocator.Instance().Resolve(key, typeof(ICPagerDao));
            DataSet    ds = td.GetDataSet(this.key, this.condition, this.pagerSize, (this.currentPage - 1));

            _ds = ds;
            return(ds);
        }