Class PagedDataSet<T>
Represents a pagination result of DataSet.
Inheritance
System.Object
PagedDataSet<T>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: DevZest.Data
Assembly: DevZest.Data.dll
Syntax
public sealed class PagedDataSet<T>
where T : class, IEntity, new()
Type Parameters
Name | Description |
---|---|
T |
Constructors
Name | Description |
---|---|
PagedDataSet() | Initializes a new instance of PagedDataSet<T> class. |
Properties
Name | Description |
---|---|
Data | Gets or sets the pagination result of the data. |
Page | Gets or sets the page number. |
PageSize | Gets or sets the page size. |
TotalCount | Gets or sets the total count of the data. |
Methods
Name | Description |
---|---|
ParseJson(String, IJsonCustomizer) | Deserializes JSON string into PagedDataSet<T> object. |
ToJsonString(Boolean, IJsonCustomizer) | Serializes into JSON string. |
ToString() |