IListResponse interface

namespace: Serenity.Services   assemblySerenity.Net.Services

The interface for list response. This is used to easily access list response members as the ListResponse class itself is generic.

public interface IListResponse


name description
Entities { get; } List of entities
Skip { get; } Number of records skipped, passed from the ListRequest
Take { get; } Number of records taken, passed from the ListRequest
TotalCount { get; } Total count of the records. This may be different than the number of returned records when paging is active, e.g. when Skip/Take parameters are assigned.

See Also