Class PaginatedQueryRequestModel
This class contains parameters passed to the query for filtering.
Inheritance
System.Object
PaginatedQueryRequestModel
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Vasont.Publisher.Models.Queries
Assembly: Vasont.Publisher.Models.dll
Syntax
public class PaginatedQueryRequestModel
Constructors
| Improve this Doc View SourcePaginatedQueryRequestModel()
Initializes a new instance of the PaginatedQueryRequestModel class.
Declaration
public PaginatedQueryRequestModel()
PaginatedQueryRequestModel(Int32, Int32)
Initializes a new instance of the PaginatedQueryRequestModel class.
Declaration
public PaginatedQueryRequestModel(int maxPageSize, int currentPage = 1)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | maxPageSize | Contains the maximum page size. |
System.Int32 | currentPage | Contains an optional current page number. |
Properties
| Improve this Doc View SourceDir
Gets or sets the sort direction.
Declaration
public SortDirection[] Dir { get; set; }
Property Value
Type | Description |
---|---|
Vasont.Inspire.Core.Extensions.SortDirection[] |
Limit
Gets or sets the result limit.
Declaration
public int Limit { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Page
Gets or sets current page number.
Declaration
public int Page { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Sort
Gets or sets the name of the column to sort by.
Declaration
public string[] Sort { get; set; }
Property Value
Type | Description |
---|---|
System.String[] |