ListRequestPagingParams class
namespace: Serenity.Services assembly: Serenity.Net.Services
Parameters that describe how a list query should be paged, including whether the total record count is required. Used by ApplyPagingParams.
public sealed class ListRequestPagingParams
Public Members
| name | description |
|---|---|
| ExcludeTotalCount { get; set; } | Gets or sets the requested ExcludeTotalCount value. true excludes the total count, false requests it, and null (the default, unspecified) leaves the decision to IncludeMore and ExcludeTotalCountByDefault. |
| ExcludeTotalCountByDefault { get; set; } | Gets or sets whether an unspecified ExcludeTotalCount should be treated as excluded. |
| IncludeMore { get; set; } | Gets or sets whether a More indicator was requested. When the total count is not explicitly requested, this asks for an extra sentinel row instead of a COUNT(*). |
| ShouldExcludeTotalCount { get; } | Gets whether the total count should be excluded, resolving ExcludeTotalCount (an explicit value wins) against IncludeMore and ExcludeTotalCountByDefault. |
| Skip { get; set; } | Gets the number of records to skip. |
| Take { get; set; } | Gets or sets the number of records to take. Zero means no paging. |
See Also
- Source: ListRequestPagingParams.cs