protected void SetStoredTotalRecordCount(SQSelectResult res, Int64 count) { res.TotalRecordCount = count; }
protected Int64 GetStoredTotalRecordCount(SQSelectResult res) { return(res.TotalRecordCount); }
/// <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);