Update QueryResult.cs

This commit is contained in:
mathias-poweredsoft 2019-09-05 21:22:50 -05:00 committed by GitHub
parent fb973a2898
commit 4f54fb855d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,6 +34,8 @@ namespace PoweredSoft.DynamicQuery
{
public long TotalRecords { get; set; }
public long? NumberOfPages { get; set; }
public bool ShouldSerializeNumberOfPages() => NumberOfPages.HasValue;
}
public class QueryExecutionGroupResult<TRecord> : QueryExecutionResult<TRecord>, IQueryExecutionGroupResult<TRecord>