public async Task GetListAsync_MultipleExist_CorrectObjectsReturned() { await PerformMultipleObjectsRetrieveAsyncTest(() => _session.GetListAsync(MultipleObjectsQuery)); }
/// <summary> /// Gets the multiple objects by query asynchronously. /// </summary> /// <param name="query">The query.</param> /// <param name="customProcessing">The custom processing.</param> /// <returns></returns> public Task <IList <T> > GetMultipleByQueryAsync(Expression <Func <T, bool> > query = null, Func <IQueryable <T>, IQueryable <T> > customProcessing = null) { return(Session.GetListAsync(query, customProcessing)); }