public static ListEx <TagsStatisticsItem> GetList(TagsStatisticsFilter f)
        {
            Database  db      = new DatabaseProviderFactory().CreateDefault();
            DbCommand command = db.GetStoredProcCommand("p_TagsStatistics_GetList",
                                                        f.Paging.CurrentPage,
                                                        f.Paging.RecordsPerPage);

            command.CommandTimeout = DataBaseSettings.SqlCommandTimeout;
            using (IDataReader r = db.ExecuteReader(command))
            {
                return(new ListEx <TagsStatisticsItem>(r, x => new TagsStatisticsItem(x)));
            }
        }
Пример #2
0
 public static ListEx <TagsStatisticsItem> GetList(TagsStatisticsFilter f)
 {
     return(TagsStatistics.GetList(f));
 }