using System.Collections.Generic; using xModels.Base; namespace xModels.Dtos { /// /// Result of a Requested Page of Data Based on Query ... /// this can used in every Data Providers ... /// public class XQueryResult : XBaseDto { /// /// a collection of items for a page ... /// /// public IEnumerable Items { get; set; } /// /// Current Page Number ... /// /// public long Page { get; set; } /// /// Current Page Size ... /// /// public long PageSize { get; set; } /// /// Total Pages ... /// /// public long TotalPages { get; set; } /// /// Total Filtered Items Pages Count ... /// /// public int TotalFilteredPages { get; set; } /// /// Total Filtered Items ... /// /// public long TotalFilteredItems { get; set; } /// /// Total Exists Items ... /// /// public long TotalItems { get; set; } } }