public void GetLongCount_MultipleExist_CorrectCountReturned()
 {
     PerformLongCountTest(() => _session.GetLongCount(PagedQuery));
 }
コード例 #2
0
 /// <summary>
 /// Gets the long number of elements.
 /// </summary>
 /// <param name="query">The query.</param>
 /// <returns></returns>
 public long GetLongCount(Expression <Func <T, bool> > query = null)
 {
     return(Session.GetLongCount(query));
 }