Ejemplo n.º 1
0
        public static DataSet GetPagerData(int intPageSize, int intCurrentPageIndex)
        {
            int num  = 0;
            int num2 = 0;

            return(SiteTemplate.GetPagerData(intPageSize, intCurrentPageIndex, ref num, ref num2));
        }
Ejemplo n.º 2
0
 public static SiteTemplateInfo GetTopData()
 {
     return(SiteTemplate.GetTopData(" Sort ASC,AutoID desc "));
 }
Ejemplo n.º 3
0
 public static SiteTemplateInfo GetDefaultTemplate()
 {
     return((from p in SiteTemplate.GetCacheSiteTemplateList()
             where p.IsDefault
             select p).FirstOrDefault <SiteTemplateInfo>());
 }
Ejemplo n.º 4
0
 public static SiteTemplateInfo GetCacheSiteTemplateByID(int intID)
 {
     return((from p in SiteTemplate.GetCacheSiteTemplateList()
             where p.AutoID.Equals(intID)
             select p).FirstOrDefault <SiteTemplateInfo>());
 }
Ejemplo n.º 5
0
 public static IList <SiteTemplateInfo> GetPagerList(int intCurrentPageIndex, int intPageSize, ref int intTotalCount, ref int intTotalPage)
 {
     return(SiteTemplate.GetPagerList("", "Sort ASC,AutoID DESC", intCurrentPageIndex, intPageSize, ref intTotalCount, ref intTotalPage));
 }
Ejemplo n.º 6
0
 public static DataSet GetPagerData(string strFilter, string strCondition, int intPageSize, int intCurrentPageIndex, ref int intTotalCount, ref int intTotalPage)
 {
     return(SiteTemplate.GetPagerData(strFilter, strCondition, " Sort asc,AutoID desc ", intPageSize, intCurrentPageIndex, ref intTotalCount, ref intTotalPage));
 }
Ejemplo n.º 7
0
 public static DataSet GetPagerData(string strCondition, int intPageSize, int intCurrentPageIndex, ref int intTotalCount, ref int intTotalPage)
 {
     return(SiteTemplate.GetPagerData("*", strCondition, intPageSize, intCurrentPageIndex, ref intTotalCount, ref intTotalPage));
 }
Ejemplo n.º 8
0
        public static IList <SiteTemplateInfo> GetList(int intTopCount, string strCondition)
        {
            string strSort = " Sort asc,AutoID desc ";

            return(SiteTemplate.GetList(intTopCount, strCondition, strSort));
        }
Ejemplo n.º 9
0
 public static IList <SiteTemplateInfo> GetTopNList(int intTopCount, string strSort)
 {
     return(SiteTemplate.GetList(intTopCount, string.Empty, strSort));
 }
Ejemplo n.º 10
0
 public static IList <SiteTemplateInfo> GetAllList()
 {
     return(SiteTemplate.GetList(0, string.Empty));
 }