public async Task GetCountAsync_MultipleExist_CorrectCountReturned()
 {
     await PerformCountAsyncTest((() => _session.GetCountAsync(PagedQuery)));
 }
예제 #2
0
 /// <summary>
 /// Gets the number of elements asynchronously.
 /// </summary>
 /// <param name="query">The query.</param>
 /// <returns></returns>
 public Task <int> GetCountAsync(Expression <Func <T, bool> > query = null)
 {
     return(Session.GetCountAsync(query));
 }