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.
68 lines
1.8 KiB
68 lines
1.8 KiB
using System;
|
|
using System.Data;
|
|
namespace OT.IDAL
|
|
{
|
|
/// <summary>
|
|
/// OTB_SYS_ProgramList
|
|
/// </summary>
|
|
public interface IOTB_SYS_ProgramList
|
|
{
|
|
#region 成员方法
|
|
/// <summary>
|
|
/// 是否存在該記錄
|
|
/// </summary>
|
|
bool Exists(string ProgramID);
|
|
/// <summary>
|
|
/// 增加一條資料
|
|
/// </summary>
|
|
bool Add(OT.Model.OTB_SYS_ProgramList model);
|
|
/// <summary>
|
|
/// 更新一條資料
|
|
/// </summary>
|
|
bool Update(OT.Model.OTB_SYS_ProgramList model);
|
|
/// <summary>
|
|
/// 刪除一條資料
|
|
/// </summary>
|
|
bool Delete( string ProgramID);
|
|
/// <summary>
|
|
/// 得到一個對象實體
|
|
/// </summary>
|
|
OT.Model.OTB_SYS_ProgramList GetModel( string ProgramID);
|
|
|
|
/// <summary>
|
|
/// 根据分页获得数据列表
|
|
/// </summary>
|
|
//DataSet GetList(int PageSize,int PageIndex,string strWhere);
|
|
|
|
//=====Create By Ted 2014/5/13=====
|
|
/// <summary>
|
|
/// 獲得資料表
|
|
/// </summary>
|
|
DataSet GetList(int StartRecordIndex, int EndRecordIndex, string ModuleID, string ProgramName, string Effective, string sort);
|
|
|
|
|
|
/// <summary>
|
|
/// 獲得資料筆數
|
|
/// </summary>
|
|
int GetListCount(string ModuleID, string ProgramName, string Effective);
|
|
|
|
/// <summary>
|
|
/// 查詢模組是否有程式在裡面
|
|
/// </summary>
|
|
bool ExistsModuleID(string strModuleID);
|
|
|
|
/// <summary>
|
|
/// 查詢模組是否有程式在裡面
|
|
/// </summary>
|
|
DataSet GetAllList(); //Add By Ted 2014/05/23
|
|
|
|
|
|
//End
|
|
|
|
|
|
#endregion 成员方法
|
|
#region MethodEx
|
|
|
|
#endregion MethodEx
|
|
}
|
|
}
|