CrudAppServiceBase.cs 1.0 KB

1234567891011121314151617181920212223242526272829
  1. using Abp.Application.Services;
  2. using Abp.Application.Services.Dto;
  3. using Abp.Domain.Entities;
  4. using Abp.Domain.Repositories;
  5. using Abp.Runtime.Caching;
  6. using IwbZero.Authorization.Permissions;
  7. using IwbZero.Session;
  8. using IwbZero.Setting;
  9. namespace IwbZero.AppServiceBase
  10. {
  11. public abstract class IwbCrudAppServiceBase<TEntity, TEntityDto, TPrimaryKey, TGetAllInput, TCreateInput, TUpdateInput> : CrudAppServiceBase<TEntity, TEntityDto, TPrimaryKey, TGetAllInput, TCreateInput, TUpdateInput>
  12. where TEntity : class, IEntity<TPrimaryKey>
  13. where TEntityDto : IEntityDto<TPrimaryKey>
  14. where TUpdateInput : IEntityDto<TPrimaryKey>
  15. {
  16. protected IwbCrudAppServiceBase(IRepository<TEntity, TPrimaryKey> repository) : base(repository)
  17. {
  18. }
  19. public new IIwbPermissionManager PermissionManager { protected get; set; }
  20. protected new IIwbSettingManager SettingManager { get; set; }
  21. public new IIwbSession AbpSession { get; set; }
  22. protected ICacheManager CacheManager { get; set; }
  23. }
  24. }