public async Task GetLongCountAsync_MultipleExist_CorrectCountReturned()
 {
     await PerformLongCountAsyncTest((() => _session.GetLongCountAsync(PagedQuery)));
 }
Example #2
0
 /// <summary>
 /// Gets the long number of elements asynchronously.
 /// </summary>
 /// <param name="query">The query.</param>
 /// <returns></returns>
 public Task <long> GetLongCountAsync(Expression <Func <T, bool> > query = null)
 {
     return(Session.GetLongCountAsync(query));
 }