You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.7 KiB
54 lines
1.7 KiB
9 months ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Text;
|
||
|
|
||
|
namespace FangYar.IDAL.TBL
|
||
|
{
|
||
|
public interface BaseMenuIDAL
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 根据ID获取model
|
||
|
/// </summary>
|
||
|
FangYar.Model.TBL.TBL_BASE_MENU_Model GetModelByID(string ID);
|
||
|
/// <summary>
|
||
|
/// 根据menucode获取model
|
||
|
/// </summary>
|
||
|
/// <param name="Code"></param>
|
||
|
/// <returns></returns>
|
||
|
FangYar.Model.TBL.TBL_BASE_MENU_Model GetModelByMenuCode(string Code);
|
||
|
/// <summary>
|
||
|
/// 添加菜单
|
||
|
/// </summary>
|
||
|
bool Add(FangYar.Model.TBL.TBL_BASE_MENU_Model BaseMenu);
|
||
|
/// <summary>
|
||
|
/// 删除
|
||
|
/// </summary>
|
||
|
bool Delete(string IDList);
|
||
|
/// <summary>
|
||
|
/// 编辑
|
||
|
/// </summary>
|
||
|
/// <param name="BaseMenu"></param>
|
||
|
/// <returns></returns>
|
||
|
bool Edit(FangYar.Model.TBL.TBL_BASE_MENU_Model BaseMenu);
|
||
|
/// <summary>
|
||
|
/// 获取记录数
|
||
|
/// </summary>
|
||
|
/// <param name="strwhere"></param>
|
||
|
/// <returns></returns>
|
||
|
int Count(string strwhere);
|
||
|
/// <summary>
|
||
|
/// 分页
|
||
|
/// </summary>
|
||
|
/// <param name="PageIndex"></param>
|
||
|
/// <param name="PageSize"></param>
|
||
|
/// <param name="strwhere"></param>
|
||
|
/// <param name="order"></param>
|
||
|
void QueryProc(int PageIndex, int PageSize, string strwhere, string order);
|
||
|
|
||
|
List<FangYar.Model.TBL.TBL_BASE_MENU_Model> QueryList(int PageIndex, int PageSize, string strwhere, string order);
|
||
|
|
||
|
List<FangYar.Model.TBL.TBL_BASE_MENU_Model> QueryWhere(string strwhere);
|
||
|
}
|
||
|
}
|