IWaitHandleLabelRepository.cs 827 B

123456789101112131415161718192021222324252627282930313233
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using System.Threading.Tasks;
  5. using Datory;
  6. using SqlKata;
  7. namespace GxPress.Repository.Interface.WaitHandle
  8. {
  9. public interface IWaitHandleLabelRepository : IRepository
  10. {
  11. Task<int> InsertAsync(Entity.WaitHandle.WaitHandleLabel waitHandleLabel);
  12. Task<bool> UpdateAsync(Entity.WaitHandle.WaitHandleLabel waitHandleLabel);
  13. Task<bool> UpdateAsync(Query query);
  14. Task<bool> DeleteAsync(int id);
  15. Task<bool> DeleteAsync(Query query);
  16. Task<Entity.WaitHandle.WaitHandleLabel> GetAsync(Query query);
  17. Task<Entity.WaitHandle.WaitHandleLabel> GetAsync(int id);
  18. Task<IEnumerable<Entity.WaitHandle.WaitHandleLabel>> GetAllAsync(Query query);
  19. Task<int> CountAsync(Query query);
  20. }
  21. }