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.

43 lines
1.3 KiB

  1. using System;
  2. using System.Data;
  3. namespace OT.IDAL
  4. {
  5. /// <summary>
  6. /// Interface OTB_SYS_Rules
  7. /// </summary>
  8. public interface IOTB_SYS_Rules
  9. {
  10. #region Method
  11. /// <summary>
  12. /// 是否存在該記錄
  13. /// </summary>
  14. bool Exists( string RuleID);
  15. /// <summary>
  16. /// 增加一條資料
  17. /// </summary>
  18. bool Add(OT.Model.OTB_SYS_Rules model);
  19. /// <summary>
  20. /// 更新一條資料
  21. /// </summary>
  22. bool Update(OT.Model.OTB_SYS_Rules model);
  23. /// <summary>
  24. /// 刪除一條資料
  25. /// </summary>
  26. bool Delete( string RuleID);
  27. bool DeleteList(string RuleIDlist);
  28. /// <summary>
  29. /// 得到一個對象實體
  30. /// </summary>
  31. OT.Model.OTB_SYS_Rules GetModel(string RuleID);
  32. /// <summary>
  33. /// 獲得資料列表(加上所屬人員判斷)
  34. /// </summary>
  35. DataSet GetRuletoMemberList(int StartRecordIndex, int EndRecordIndex, string RuleID, string RuleName, string MemberID, string SortExpression);
  36. /// <summary>
  37. /// 獲得資料總筆數(加上所屬人員判斷)
  38. /// </summary>
  39. int GetRuletoMemberListCount(string RuleID, string RuleName, string MemberID);
  40. #endregion Method
  41. }
  42. }