public int GetCount() { ICPagerDao td = (ICPagerDao)ComponentLocator.Instance().Resolve(key, typeof(ICPagerDao)); int result = td.GetCount(this.key, this.condition); return(result); }
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); }