Пример #1
0
        private List <DownlineSummary> GetList()
        {
            if (rows != null)
            {
                return(rows);
            }

            rows = (from a in CurrentDatabase.DownlineSummary(CategoryId, Page, PageSize)
                    select a).ToList();
            count = rows.Count == 0 ? 0 : rows[0].MaxRows;
            return(rows);
        }