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.

46 lines
1.5 KiB

  1. using System;
  2. using System.Data;
  3. namespace OT.IDAL
  4. {
  5. /// <summary>
  6. /// OTB_SYS_ArgumentClass
  7. /// </summary>
  8. public interface IOTB_SYS_ArgumentClass
  9. {
  10. #region 成员方法
  11. /// <summary>
  12. /// 是否存在記錄
  13. /// </summary>
  14. bool Exists(string ArgumentClassID);
  15. /// <summary>
  16. /// 增加
  17. /// </summary>
  18. bool Add(OT.Model.OTB_SYS_ArgumentClass model);
  19. /// <summary>
  20. /// 更新
  21. /// </summary>
  22. bool Update(OT.Model.OTB_SYS_ArgumentClass model);
  23. /// <summary>
  24. /// 刪除
  25. /// </summary>
  26. int Delete( string strArgumentClassID, string OrderByValue, string OrderByValueCount);
  27. bool DeleteList(string ArgumentClassIDlist);
  28. /// <summary>
  29. /// 得到一個實體對象
  30. /// </summary>
  31. OT.Model.OTB_SYS_ArgumentClass GetModel( string ArgumentClassID);
  32. OT.Model.OTB_SYS_ArgumentClass DataRowToModel(DataRow row);
  33. /// <summary>
  34. /// 獲得資料列表
  35. /// </summary>
  36. DataSet GetList(int StartRecordIndex, int EndRecordIndex, string ArgumentClassID, string ArgumentClassName, string Effective, string SortExpression);
  37. /// <summary>
  38. /// 獲得資料總筆數
  39. /// </summary>
  40. int GetListCount(string ArgumentClassID, string ArgumentClassName, string Effective);
  41. #endregion 成员方法
  42. #region MethodEx
  43. #endregion MethodEx
  44. }
  45. }