ITk_GalleryIService.cs 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. using System;
  2. using Lottomat.Application.Entity.BaseManage;
  3. using Lottomat.Application.Entity.GalleryManage;
  4. using Lottomat.Util.WebControl;
  5. using System.Collections.Generic;
  6. using System.Linq.Expressions;
  7. namespace Lottomat.Application.IService.GalleryManage
  8. {
  9. /// <summary>
  10. /// 版 本 1.0
  11. /// Copyright (c) 2016-2017
  12. /// 创 建:开发者账号
  13. /// 日 期:2017-10-19 14:24
  14. /// 描 述:图库标题表
  15. /// </summary>
  16. public interface ITk_GalleryIService
  17. {
  18. #region 获取数据
  19. /// <summary>
  20. /// 获取列表
  21. /// </summary>
  22. /// <param name="queryJson">查询参数</param>
  23. /// <returns>返回列表</returns>
  24. IEnumerable<Tk_Gallery> GetList(string queryJson);
  25. IEnumerable<Tk_Gallery> GetList(Expression<Func<Tk_Gallery, bool>> condition);
  26. /// <summary>
  27. /// 获取实体
  28. /// </summary>
  29. /// <param name="keyValue">主键值</param>
  30. /// <returns></returns>
  31. Tk_Gallery GetEntity(string keyValue);
  32. #endregion
  33. #region 提交数据
  34. /// <summary>
  35. /// 删除数据
  36. /// </summary>
  37. /// <param name="keyValue">主键</param>
  38. void RemoveForm(string keyValue);
  39. /// <summary>
  40. /// 保存表单(新增、修改)
  41. /// </summary>
  42. /// <param name="keyValue">主键值</param>
  43. /// <param name="entity">实体对象</param>
  44. /// <returns></returns>
  45. void SaveForm(string keyValue, Tk_Gallery entity);
  46. IEnumerable<Tk_Gallery> GetPageList(Pagination pagination, string queryJson);
  47. List<Tk_Gallery> QueryAll(int count);
  48. #endregion
  49. }
  50. }