using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; namespace FangYar.IDAL.TBL { public interface SysRoleIDAL { /// /// 根据ID获取model /// FangYar.Model.TBL.TBL_SYS_ROLE_Model GetModelByID(string ID); /// /// 根据AppId获取model /// FangYar.Model.TBL.TBL_SYS_ROLE_Model GetModelByAppId(string AppId); /// /// 添加菜单 /// bool Add(FangYar.Model.TBL.TBL_SYS_ROLE_Model model); /// /// 删除 /// bool Delete(string IDList); /// /// 编辑 /// bool Edit(FangYar.Model.TBL.TBL_SYS_ROLE_Model model); /// /// 获取记录总数 /// /// /// int Count(string where); /// /// 分页 /// /// /// /// /// void QueryProc(int PageIndex, int PageSize, string strwhere, string order); List QueryList(int PageIndex, int PageSize, string strwhere, string order); //选择菜单 DataTable RolegetMenu(string appid, string roleId); /// /// 分页无排序 /// /// 页面索引 /// 页面大小 /// 查询条件 /// DataTable QueryDataTable(int PageIndex, int PageSize, string strwhere, string order); } }