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.
42 lines
1.3 KiB
42 lines
1.3 KiB
using System;
|
|
using System.Data;
|
|
namespace OT.IDAL
|
|
{
|
|
/// <summary>
|
|
/// Interface OTB_SYS_Jobtitle
|
|
/// </summary>
|
|
public interface IOTB_SYS_Jobtitle
|
|
{
|
|
#region Method
|
|
/// <summary>
|
|
/// 是否存在該記錄
|
|
/// </summary>
|
|
bool Exists(string JobtitleID);
|
|
/// <summary>
|
|
/// 是否存在該記錄在人員表中
|
|
/// </summary>
|
|
bool ExistsByMember(string JobtitleID);
|
|
/// <summary>
|
|
/// 增加一條資料
|
|
/// </summary>
|
|
bool Add(OT.Model.OTB_SYS_Jobtitle model);
|
|
/// <summary>
|
|
/// 更新一條資料
|
|
/// </summary>
|
|
bool Update(OT.Model.OTB_SYS_Jobtitle model);
|
|
/// <summary>
|
|
/// 刪除一條資料
|
|
/// </summary>
|
|
bool Delete(string JobtitleID);
|
|
bool DeleteList(string JobtitleIDlist);
|
|
/// <summary>
|
|
/// 得到一個對象實體
|
|
/// </summary>
|
|
OT.Model.OTB_SYS_Jobtitle GetModel(string JobtitleID);
|
|
#endregion Method
|
|
|
|
int GetListCount(string DepartID, string JobtitleID, string JobtitleName, string Effective);
|
|
|
|
DataSet GetList(int StartRecordIndex, int EndRecordIndex, string DepartID, string JobtitleID, string JobtitleName, string Effective, string SortExpression);
|
|
}
|
|
}
|