public IQueryable <T> GetEntities <T>(Expression <Func <T, bool> > predicate, params IQueryStrategy[] queryStrategies) where T : class { Check.NotNull(predicate, "predicate"); Check.NotNull(queryStrategies, "queryStrategies"); return(QueryRepository.GetEntities <T>(predicate, queryStrategies)); }
public async Task <List <T> > GetEntitiesAsync <T>(Expression <Func <T, bool> > predicate, params IQueryStrategy[] queryStrategies) where T : class { Check.NotNull(predicate, "predicate"); Check.NotNull(queryStrategies, "queryStrategies"); return(await Task.Run(() => QueryRepository.GetEntities <T>(predicate, queryStrategies).ToList())); }
public async Task <List <T> > GetEntitiesAsync <T>(IQueryStrategy queryStrategy, object additionalQueryData = null) where T : class { return(await Task.Run(() => QueryRepository.GetEntities <T>(queryStrategy, additionalQueryData).ToList())); }
public IQueryable <T> GetEntities <T>(IQueryStrategy queryStrategy, object additionalQueryData = null) where T : class { return(QueryRepository.GetEntities <T>(queryStrategy, additionalQueryData)); }
public async Task <List <T> > GetEntitiesAsync <T>(params Expression <Func <T, bool> >[] predicates) where T : class { Check.NotNull(predicates, "predicates"); return(await Task.Run(() => QueryRepository.GetEntities <T>(predicates).ToList())); }
public IQueryable <T> GetEntities <T>(params Expression <Func <T, bool> >[] predicates) where T : class { Check.NotNull(predicates, "predicates"); return(QueryRepository.GetEntities <T>(predicates)); }
public async Task <List <T> > GetEntitiesAsync <T>(params IQueryStrategy[] queryStrategy) where T : class { Check.NotNull(queryStrategy, "queryStrategy"); return(await Task.Run(() => QueryRepository.GetEntities <T>(queryStrategy).ToList())); }
public async Task <List <T> > GetEntitiesAsync <T>() where T : class { return(await Task.Run(() => QueryRepository.GetEntities <T>().ToList())); }
public IQueryable <T> GetEntities <T>(Expression <Func <T, bool> > predicate) where T : class { Check.NotNull(predicate, "predicate"); return(QueryRepository.GetEntities <T>(predicate)); }
public IQueryable <T> GetEntities <T>(params IQueryStrategy[] queryStrategy) where T : class { Check.NotNull(queryStrategy, "queryStrategy"); return(QueryRepository.GetEntities <T>(queryStrategy)); }
public IQueryable <T> GetEntities <T>() where T : class { return(QueryRepository.GetEntities <T>()); }