namespace Khaemhat.Data; /// A page of results with the total number of matching rows. /// The item type. /// The rows of the page. /// All rows matching the filters. /// Rows skipped. /// Page size, or when not paged. public sealed record PagedResult(IReadOnlyList Items, long TotalCount, int Offset, int? Limit) { /// Whether more rows follow this page. public bool HasMore => Offset + Items.Count < TotalCount; }