Abp suite CRUD code generation creates GetListAsync methods in Applications Services, but this method gives paged results.
Is there a way to get all the data with this method without implementing a new GetList method?
Task<PagedResultDto<EntityDto>> GetListAsync(GetEntityInput input)
6 Answer(s)
-
0
There is no such method named "ApplyPaging" in abstract class "Volo.Abp.Application.Services.ApplicationService".
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
As far as i can see, things have changed. We used code generation with early 2.* versions. So before this there were only ApplicationService. Anyway our system now uses old mechanism.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
I've suspected that something is weird. Because abp suite should not generate services by extending ApplicationService class. I think your problem will be easily solved by converting services to extend CrudAppService.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
hi Talha,
Suite generates only PagedResult action. So if you have a requirement to get all records, you can simply send a big
maxResultCount.http://sample.com/api/identity/users?maxResultCount=99999Or create a new action to retrieve all records without paging.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)