public List <CATEGORY_PAGE_LIST> GetCategoryPageList(CATEGORY_PAGE_COND Cond) { string sql = Global.DBAgent.LoadSQL(sqlBasePath + "Advertising\\Category.xml", "GetCategoryPageList" , Cond.PAGE_COUNT.ToString("10") , Cond.PAGE.ToString("1") , Cond.CATEGORY_CODE.ToString("") , Cond.CATEGORY_TYPE.ToString("") , Cond.CATEGORY_TYPE2.ToString("") , Cond.PARENT_CATEGORY_CODE.ToString("") , Cond.LEVEL_DEPTH.ToString("") , Cond.SEARCH_CATEGORY_CODE.ToString("") , Cond.CATEGORY_NAME.ToString("") , (Cond.HIDE == null || Cond.HIDE == false ? "" : "1") ); return(db.ExecuteQuery <CATEGORY_PAGE_LIST>(sql).ToList()); }
public PartialViewResult pv_CategoryRegList(CATEGORY_PAGE_COND Cond) { ViewBag.list = new CategoryService().GetCategoryPageList(Cond); ViewBag.TABLE_NAME = Cond.TABLE_NAME; return(PartialView2()); }