Example #1
0
        public ActiveRecordList <TActiveRecord> GetResults(bool useDefaultOrderBy)
        {
            var sql = GetSql();

            sql.Paging(ItemsPerPage, PageNum);
            var list = new ActiveRecordList <TActiveRecord>();

            ActiveRecordLoader.LoadRecords <TActiveRecord>(list, sql);
            return(list);
        }