Show / Hide Table of Contents

Class DistrictAppService

Inheritance
object
ApplicationService
AbstractKeyReadOnlyAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto>
AbstractKeyCrudAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto, DistrictDto, DistrictDto>
AbstractKeyCrudAppService<District, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto, DistrictDto, DistrictDto>
AbstractKeyCrudAppService<District, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto>
AbstractKeyCrudAppService<District, DistrictDto, DistrictKey>
DistrictAppService
Implements
IAvoidDuplicateCrossCuttingConcerns
IValidationEnabled
IUnitOfWorkEnabled
IAuditingEnabled
IGlobalFeatureCheckingEnabled
ITransientDependency
ICrudAppService<DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto, DistrictDto, DistrictDto>
IReadOnlyAppService<DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto>
ICreateUpdateAppService<DistrictDto, DistrictKey, DistrictDto, DistrictDto>
ICreateAppService<DistrictDto, DistrictDto>
IUpdateAppService<DistrictDto, DistrictKey, DistrictDto>
IDeleteAppService<DistrictKey>
IApplicationService
IRemoteService
Inherited Members
AbstractKeyCrudAppService<District, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto, DistrictDto, DistrictDto>.MapToGetListOutputDtoAsync(District)
AbstractKeyCrudAppService<District, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto, DistrictDto, DistrictDto>.MapToGetListOutputDto(District)
AbstractKeyCrudAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto, DistrictDto, DistrictDto>.CreateAsync(DistrictDto)
AbstractKeyCrudAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto, DistrictDto, DistrictDto>.UpdateAsync(DistrictKey, DistrictDto)
AbstractKeyCrudAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto, DistrictDto, DistrictDto>.DeleteAsync(DistrictKey)
AbstractKeyCrudAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto, DistrictDto, DistrictDto>.DeleteByIdAsync(DistrictKey)
AbstractKeyCrudAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto, DistrictDto, DistrictDto>.CheckCreatePolicyAsync()
AbstractKeyCrudAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto, DistrictDto, DistrictDto>.CheckUpdatePolicyAsync()
AbstractKeyCrudAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto, DistrictDto, DistrictDto>.CheckDeletePolicyAsync()
AbstractKeyCrudAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto, DistrictDto, DistrictDto>.MapToEntityAsync(DistrictDto)
AbstractKeyCrudAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto, DistrictDto, DistrictDto>.MapToEntity(DistrictDto)
AbstractKeyCrudAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto, DistrictDto, DistrictDto>.SetIdForGuids(District)
AbstractKeyCrudAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto, DistrictDto, DistrictDto>.MapToEntityAsync(DistrictDto, District)
AbstractKeyCrudAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto, DistrictDto, DistrictDto>.MapToEntity(DistrictDto, District)
AbstractKeyCrudAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto, DistrictDto, DistrictDto>.TryToSetTenantId(District)
AbstractKeyCrudAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto, DistrictDto, DistrictDto>.HasTenantIdProperty(District)
AbstractKeyCrudAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto, DistrictDto, DistrictDto>.Repository
AbstractKeyCrudAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto, DistrictDto, DistrictDto>.CreatePolicyName
AbstractKeyCrudAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto, DistrictDto, DistrictDto>.UpdatePolicyName
AbstractKeyCrudAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto, DistrictDto, DistrictDto>.DeletePolicyName
AbstractKeyReadOnlyAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto>.GetAsync(DistrictKey)
AbstractKeyReadOnlyAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto>.GetListAsync(PagedAndSortedResultRequestDto)
AbstractKeyReadOnlyAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto>.GetEntityByIdAsync(DistrictKey)
AbstractKeyReadOnlyAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto>.CheckGetPolicyAsync()
AbstractKeyReadOnlyAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto>.CheckGetListPolicyAsync()
AbstractKeyReadOnlyAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto>.ApplySorting(IQueryable<District>, PagedAndSortedResultRequestDto)
AbstractKeyReadOnlyAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto>.ApplyDefaultSorting(IQueryable<District>)
AbstractKeyReadOnlyAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto>.ApplyPaging(IQueryable<District>, PagedAndSortedResultRequestDto)
AbstractKeyReadOnlyAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto>.CreateFilteredQueryAsync(PagedAndSortedResultRequestDto)
AbstractKeyReadOnlyAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto>.MapToGetOutputDtoAsync(District)
AbstractKeyReadOnlyAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto>.MapToGetOutputDto(District)
AbstractKeyReadOnlyAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto>.MapToGetListOutputDtosAsync(List<District>)
AbstractKeyReadOnlyAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto>.MapToGetListOutputDtoAsync(District)
AbstractKeyReadOnlyAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto>.MapToGetListOutputDto(District)
AbstractKeyReadOnlyAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto>.ReadOnlyRepository
AbstractKeyReadOnlyAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto>.GetPolicyName
AbstractKeyReadOnlyAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto>.GetListPolicyName
ApplicationService.CheckPolicyAsync(string)
ApplicationService.CreateLocalizer()
ApplicationService.LazyServiceProvider
ApplicationService.ServiceProvider
ApplicationService.CommonPostfixes
ApplicationService.AppliedCrossCuttingConcerns
ApplicationService.UnitOfWorkManager
ApplicationService.AsyncExecuter
ApplicationService.ObjectMapperContext
ApplicationService.ObjectMapper
ApplicationService.GuidGenerator
ApplicationService.LoggerFactory
ApplicationService.CurrentTenant
ApplicationService.DataFilter
ApplicationService.CurrentUser
ApplicationService.SettingProvider
ApplicationService.Clock
ApplicationService.AuthorizationService
ApplicationService.FeatureChecker
ApplicationService.StringLocalizerFactory
ApplicationService.L
ApplicationService.LocalizationResource
ApplicationService.CurrentUnitOfWork
ApplicationService.Logger
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.TestApp.Application
Assembly: Volo.Abp.TestApp.dll
Syntax
public class DistrictAppService : AbstractKeyCrudAppService<District, DistrictDto, DistrictKey>, IAvoidDuplicateCrossCuttingConcerns, IValidationEnabled, IUnitOfWorkEnabled, IAuditingEnabled, IGlobalFeatureCheckingEnabled, ITransientDependency, ICrudAppService<DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto, DistrictDto, DistrictDto>, IReadOnlyAppService<DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto>, ICreateUpdateAppService<DistrictDto, DistrictKey, DistrictDto, DistrictDto>, ICreateAppService<DistrictDto, DistrictDto>, IUpdateAppService<DistrictDto, DistrictKey, DistrictDto>, IDeleteAppService<DistrictKey>, IApplicationService, IRemoteService

Constructors

DistrictAppService(IRepository<District>)

Declaration
public DistrictAppService(IRepository<District> repository)
Parameters
Type Name Description
IRepository<District> repository

Methods

DeleteByIdAsync(DistrictKey)

Declaration
protected override Task DeleteByIdAsync(DistrictKey id)
Parameters
Type Name Description
DistrictKey id
Returns
Type Description
Task
Overrides
AbstractKeyCrudAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto, DistrictDto, DistrictDto>.DeleteByIdAsync(DistrictKey)

GetEntityByIdAsync(DistrictKey)

Declaration
protected override Task<District> GetEntityByIdAsync(DistrictKey id)
Parameters
Type Name Description
DistrictKey id
Returns
Type Description
Task<District>
Overrides
AbstractKeyReadOnlyAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto>.GetEntityByIdAsync(DistrictKey)

Implements

IAvoidDuplicateCrossCuttingConcerns
IValidationEnabled
IUnitOfWorkEnabled
IAuditingEnabled
IGlobalFeatureCheckingEnabled
ITransientDependency
ICrudAppService<TGetOutputDto, TGetListOutputDto, TKey, TGetListInput, TCreateInput, TUpdateInput>
IReadOnlyAppService<TGetOutputDto, TGetListOutputDto, TKey, TGetListInput>
ICreateUpdateAppService<TGetOutputDto, TKey, TCreateUpdateInput, TUpdateInput>
ICreateAppService<TGetOutputDto, TCreateInput>
IUpdateAppService<TGetOutputDto, TKey, TUpdateInput>
IDeleteAppService<TKey>
IApplicationService
IRemoteService

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform