ListResponse<T> class
namespace: Serenity.Services assembly: Serenity.Net.Services
The response model for a list service.
public class ListResponse<T> : ServiceResponse, IListResponse
| parameter | description |
|---|---|
| T | Type of the returned entities. |
Public Members
| name | description |
|---|---|
| ListResponse() | The default constructor. |
| Aggregates { get; set; } | The aggregates of all the rows the request matches, and of their groups, when Aggregates or GroupBy is requested. It is null when the handler doesn't support aggregates, in which case they can only be calculated from the entities that are returned. |
| Entities { get; set; } | Entities |
| More { get; set; } | Whether more records are available beyond the returned page, when requested. |
| Skip { get; set; } | |
| Take { get; set; } | |
| TotalCount { get; set; } | |
| Values { get; set; } | List of distinct values, if DistinctFields are passed in the list request. Values for each distinct row are appended in the requested field order. When multiple fields are requested, the list is flat and values are not grouped into tuples. |
See Also
- class ServiceResponse
- interface IListResponse
- Source: ListResponse.cs