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.

50 lines
1.5 KiB

  1. using System;
  2. using System.Data;
  3. namespace OT.IDAL
  4. {
  5. /// <summary>
  6. /// Interface OTB_SYS_SystemSetting
  7. /// </summary>
  8. public interface IOTB_SYS_SystemSetting
  9. {
  10. #region Method
  11. /// <summary>
  12. /// 是否存在該記錄
  13. /// </summary>
  14. bool Exists(string SettingItem);
  15. /// <summary>
  16. /// 增加一條資料
  17. /// </summary>
  18. bool Add(OT.Model.OTB_SYS_SystemSetting model);
  19. /// <summary>
  20. /// 更新一條資料
  21. /// </summary>
  22. bool Update(OT.Model.OTB_SYS_SystemSetting model);
  23. /// <summary>
  24. /// 刪除一條資料
  25. /// </summary>
  26. bool Delete(string SettingItem);
  27. /// <summary>
  28. /// 得到一個對象實體
  29. /// </summary>
  30. OT.Model.OTB_SYS_SystemSetting GetModel( string SettingItem);
  31. /// <summary>
  32. /// 獲得資料列表
  33. /// </summary>
  34. DataSet GetList(int StartRecordIndex, int EndRecordIndex, string SettingItem, string SettingDescription, string SettingValue, string Effective, string SortExpression);
  35. /// <summary>
  36. /// 獲得資料總筆數
  37. /// </summary>
  38. int GetListCount(string SettingItem, string SettingDescription, string SettingValue, string Effective);
  39. /// <summary>
  40. /// 獲得全部資料列表
  41. /// </summary>
  42. DataSet GetAllList();
  43. DataSet GetMitakeInfo();
  44. #endregion Method
  45. }
  46. }