Skip to content

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.
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