Merge pull request #3 from mathias-poweredsoft/master
Update QueryResult.cs
This commit is contained in:
commit
936efeff56
@ -34,6 +34,8 @@ namespace PoweredSoft.DynamicQuery
|
|||||||
{
|
{
|
||||||
public long TotalRecords { get; set; }
|
public long TotalRecords { get; set; }
|
||||||
public long? NumberOfPages { get; set; }
|
public long? NumberOfPages { get; set; }
|
||||||
|
|
||||||
|
public bool ShouldSerializeNumberOfPages() => NumberOfPages.HasValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class QueryExecutionGroupResult<TRecord> : QueryExecutionResult<TRecord>, IQueryExecutionGroupResult<TRecord>
|
public class QueryExecutionGroupResult<TRecord> : QueryExecutionResult<TRecord>, IQueryExecutionGroupResult<TRecord>
|
||||||
|
Loading…
Reference in New Issue
Block a user