using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FangYar.IDAL.TBL
{
public interface SysMenuIDAL
{
///
/// 根据ID获取model
///
FangYar.Model.TBL.TBL_SYS_MENU_Model GetModelByID(string ID);
///
/// 根据AppId获取model
///
///
///
FangYar.Model.TBL.TBL_SYS_MENU_Model GetModelByAppId(string AppId);
///
/// 添加菜单
///
bool Add(FangYar.Model.TBL.TBL_SYS_MENU_Model SysMenu);
///
/// 删除
///
bool Delete(string IDList);
///
/// 编辑
///
///
///
bool Edit(FangYar.Model.TBL.TBL_SYS_MENU_Model SysMenu);
///
/// 获取记录总数
///
///
///
int Count(string where);
///
/// 分页
///
///
///
///
///
void QueryProc(int PageIndex, int PageSize, string strwhere, string order);
List QueryList(int PageIndex, int PageSize, string strwhere, string order);
List QueryWhere(string strwhere);
///
/// flow用的
/// 添加菜单
///
bool flowAdd(FangYar.Model.TBL.TBL_SYS_MENU_Model SysMenu);
///
/// flow用的
/// 编辑
///
///
///
bool flowEdit(FangYar.Model.TBL.TBL_SYS_MENU_Model SysMenu);
///
/// flow用的
/// 根据type字段查询list集合
///
///
///
List typegetmenu(string type);
///
/// flow用的
/// 根据CODE获取实体对象
///
Model.TBL.TBL_SYS_MENU_Model GetModelByCODE(string code);
///
/// 删除 角色与菜单关联表
///
///
///
bool DeleteRoleMenu(string IDList);
}
}