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.
 
 
 
 
 
 

52 lines
1.6 KiB

  1. using Learun.Util;
  2. using System.Collections.Generic;
  3. namespace Learun.Application.Base.SystemModule
  4. {
  5. /// <summary>
  6. /// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园
  7. /// Copyright (c) 2013-2018 北京泉江科技有限公司
  8. /// 创 建:超级管理员
  9. /// 日 期:2018-03-15 12:03
  10. /// 描 述:数据表草稿类
  11. /// </summary>
  12. public interface DbDraftIBLL
  13. {
  14. #region 获取数据
  15. /// <summary>
  16. /// 获取列表数据
  17. /// <summary>
  18. /// <returns></returns>
  19. IEnumerable<DbDraftEntity> GetList(string queryJson);
  20. /// <summary>
  21. /// 获取列表分页数据
  22. /// <param name="pagination">分页参数</param>
  23. /// <summary>
  24. /// <returns></returns>
  25. IEnumerable<DbDraftEntity> GetPageList(Pagination pagination, string queryJson);
  26. /// <summary>
  27. /// 获取实体数据
  28. /// <param name="keyValue">主键</param>
  29. /// <summary>
  30. /// <returns></returns>
  31. DbDraftEntity GetEntity(string keyValue);
  32. #endregion
  33. #region 提交数据
  34. /// <summary>
  35. /// 删除实体数据
  36. /// <param name="keyValue">主键</param>
  37. /// <summary>
  38. /// <returns></returns>
  39. void DeleteEntity(string keyValue);
  40. /// <summary>
  41. /// 保存实体数据(新增、修改)
  42. /// <param name="keyValue">主键</param>
  43. /// <summary>
  44. /// <returns></returns>
  45. void SaveEntity(string keyValue, DbDraftEntity entity);
  46. #endregion
  47. }
  48. }