/// <summary> /// 分页列表 /// </summary> /// <param name="Page">分页索引</param> /// <returns></returns> public DealMvc.Orm.PagerEx.Pager <DealMvc.Model.HelpCenterInfo> PagerList(int?Page) { DealMvc.Orm.PagerEx.Pager <DealMvc.Model.HelpCenterInfo> _Pager = new DealMvc.Orm.PagerEx.Pager <Model.HelpCenterInfo>(Page ?? 0, ""); _Pager.OrderColumn = new string[] { "HCI_Sort" }; _Pager.OrderType = new DealMvc.Orm.PagerEx.SQLOrderType[] { Orm.PagerEx.SQLOrderType.DESC }; _Pager.GetPageList(); return(_Pager); }
/// <summary> /// 分页列表 /// </summary> /// <param name="Page">分页索引</param> /// <returns></returns> public DealMvc.Orm.PagerEx.Pager <DealMvc.Model.SiteEmail> PagerList(int?Page) { DealMvc.Orm.PagerEx.Pager <DealMvc.Model.SiteEmail> _Pager = new DealMvc.Orm.PagerEx.Pager <Model.SiteEmail>(Page ?? 0, ""); _Pager.OrderColumn = new string[] { "id" }; _Pager.OrderType = new DealMvc.Orm.PagerEx.SQLOrderType[] { Orm.PagerEx.SQLOrderType.DESC }; _Pager.GetPageList(); return(_Pager); }
/// <summary> /// 分页列表 /// </summary> /// <param name="Page">分页索引</param> /// <returns></returns> public DealMvc.Orm.PagerEx.Pager <DealMvc.Model.AdvertisingInfo> PagerList(int?Page, string Title) { DealMvc.Orm.PagerEx.Pager <DealMvc.Model.AdvertisingInfo> _Pager = new DealMvc.Orm.PagerEx.Pager <Model.AdvertisingInfo>(Page ?? 0, t => t.AI_AdLocation.lb_Like(Title)); _Pager.OrderColumn = new string[] { "id" }; _Pager.OrderType = new DealMvc.Orm.PagerEx.SQLOrderType[] { Orm.PagerEx.SQLOrderType.DESC }; _Pager.GetPageList(); return(_Pager); }