Class CrudAppService<TEntity, TEntityDto, TKey, TGetListInput, TCreateInput, TUpdateInput>
Inheritance
AbstractKeyReadOnlyAppService<TEntity, TEntityDto, TEntityDto, TKey, TGetListInput>
AbstractKeyCrudAppService<TEntity, TEntityDto, TEntityDto, TKey, TGetListInput, TCreateInput, TUpdateInput>
CrudAppService<TEntity, TEntityDto, TEntityDto, TKey, TGetListInput, TCreateInput, TUpdateInput>
CrudAppService<TEntity, TEntityDto, TKey, TGetListInput, TCreateInput, TUpdateInput>
Implements
ICrudAppService<TEntityDto, TEntityDto, TKey, TGetListInput, TCreateInput, TUpdateInput>
IReadOnlyAppService<TEntityDto, TEntityDto, TKey, TGetListInput>
ICreateUpdateAppService<TEntityDto, TKey, TCreateInput, TUpdateInput>
ICreateAppService<TEntityDto, TCreateInput>
IUpdateAppService<TEntityDto, TKey, TUpdateInput>
IDeleteAppService<TKey>
Inherited Members
Namespace: Volo.Abp.Application.Services
Assembly: Volo.Abp.Ddd.Application.dll
Syntax
public abstract class CrudAppService<TEntity, TEntityDto, TKey, TGetListInput, TCreateInput, TUpdateInput> : CrudAppService<TEntity, TEntityDto, TEntityDto, TKey, TGetListInput, TCreateInput, TUpdateInput>, IAvoidDuplicateCrossCuttingConcerns, IValidationEnabled, IUnitOfWorkEnabled, IAuditingEnabled, IGlobalFeatureCheckingEnabled, ITransientDependency, ICrudAppService<TEntityDto, TEntityDto, TKey, TGetListInput, TCreateInput, TUpdateInput>, IReadOnlyAppService<TEntityDto, TEntityDto, TKey, TGetListInput>, ICreateUpdateAppService<TEntityDto, TKey, TCreateInput, TUpdateInput>, ICreateAppService<TEntityDto, TCreateInput>, IUpdateAppService<TEntityDto, TKey, TUpdateInput>, IDeleteAppService<TKey>, IApplicationService, IRemoteService where TEntity : class, IEntity<TKey> where TEntityDto : IEntityDto<TKey>
Type Parameters
| Name | Description |
|---|---|
| TEntity | |
| TEntityDto | |
| TKey | |
| TGetListInput | |
| TCreateInput | |
| TUpdateInput |
Constructors
CrudAppService(IRepository<TEntity, TKey>)
Declaration
protected CrudAppService(IRepository<TEntity, TKey> repository)
Parameters
| Type | Name | Description |
|---|---|---|
| IRepository<TEntity, TKey> | repository |
Methods
MapToGetListOutputDto(TEntity)
Declaration
protected override TEntityDto MapToGetListOutputDto(TEntity entity)
Parameters
| Type | Name | Description |
|---|---|---|
| TEntity | entity |
Returns
| Type | Description |
|---|---|
| TEntityDto |
Overrides
MapToGetListOutputDtoAsync(TEntity)
Declaration
protected override Task<TEntityDto> MapToGetListOutputDtoAsync(TEntity entity)
Parameters
| Type | Name | Description |
|---|---|---|
| TEntity | entity |
Returns
| Type | Description |
|---|---|
| Task<TEntityDto> |