using System; using System.Data; namespace OT.IDAL { /// /// Interface OTB_SYS_Jobtitle /// public interface IOTB_SYS_Jobtitle { #region Method /// /// 是否存在該記錄 /// bool Exists(string JobtitleID); /// /// 是否存在該記錄在人員表中 /// bool ExistsByMember(string JobtitleID); /// /// 增加一條資料 /// bool Add(OT.Model.OTB_SYS_Jobtitle model); /// /// 更新一條資料 /// bool Update(OT.Model.OTB_SYS_Jobtitle model); /// /// 刪除一條資料 /// bool Delete(string JobtitleID); bool DeleteList(string JobtitleIDlist); /// /// 得到一個對象實體 /// 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); } }