Esempio n. 1
0
 protected void SetStoredTotalRecordCount(SQSelectResult res, Int64 count)
 {
     res.TotalRecordCount = count;
 }
Esempio n. 2
0
 protected Int64 GetStoredTotalRecordCount(SQSelectResult res)
 {
     return(res.TotalRecordCount);
 }
Esempio n. 3
0
 /// <summary>
 /// When paging settings are set on a select query, pass the result to get the total record count. Finish using the reader before passing it here, because the reader may be useless afterward.
 /// </summary>
 /// <param name="result">the SelectResult returned by a Select(SelectQuery) call</param>
 /// <returns></returns>
 public abstract Int64 GetTotalRecordCount(SQSelectResult result);