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

  1. using System;
  2. using System.Data;
  3. namespace OT.IDAL
  4. {
  5. /// <summary>
  6. /// Interface OTB_SYS_Jobtitle
  7. /// </summary>
  8. public interface IOTB_SYS_Jobtitle
  9. {
  10. #region Method
  11. /// <summary>
  12. /// 是否存在該記錄
  13. /// </summary>
  14. bool Exists(string JobtitleID);
  15. /// <summary>
  16. /// 是否存在該記錄在人員表中
  17. /// </summary>
  18. bool ExistsByMember(string JobtitleID);
  19. /// <summary>
  20. /// 增加一條資料
  21. /// </summary>
  22. bool Add(OT.Model.OTB_SYS_Jobtitle model);
  23. /// <summary>
  24. /// 更新一條資料
  25. /// </summary>
  26. bool Update(OT.Model.OTB_SYS_Jobtitle model);
  27. /// <summary>
  28. /// 刪除一條資料
  29. /// </summary>
  30. bool Delete(string JobtitleID);
  31. bool DeleteList(string JobtitleIDlist);
  32. /// <summary>
  33. /// 得到一個對象實體
  34. /// </summary>
  35. OT.Model.OTB_SYS_Jobtitle GetModel(string JobtitleID);
  36. #endregion Method
  37. int GetListCount(string DepartID, string JobtitleID, string JobtitleName, string Effective);
  38. DataSet GetList(int StartRecordIndex, int EndRecordIndex, string DepartID, string JobtitleID, string JobtitleName, string Effective, string SortExpression);
  39. }
  40. }