private IQueryable <T> ApplySpecification(ISpecification <T> spec) { var evaluator = new SpecificationEvaluator <T>(); return(evaluator.GetQuery(DbContext.Set <T>().AsQueryable(), spec)); }
private IQueryable <T> ApplySpecification(ISpecification <T> spec) { return(SpecificationEvaluator <T> .GetQuery(_context.Set <T>().AsQueryable(), spec)); }
private IQueryable <TEntity> ApplySpecification(ISpecification <TEntity> spec) { return(SpecificationEvaluator <TEntity> .GetQuery(storeContext.Set <TEntity>().AsQueryable(), spec)); }
private IQueryable <T> ApplySpecification <T>(ISpecification <T> spec) where T : BaseEntity { var evaluator = new SpecificationEvaluator <T>(); return(evaluator.GetQuery(_dbContext.Set <T>().AsQueryable(), spec)); }
private IQueryable <Product> ApplySpecification(ISpecifications <Product> spec) { return(SpecificationEvaluator <Product> .GetQuery(_context.Set <Product>().AsQueryable(), spec)); }
private IQueryable <T> ApplySpecification(ISpecification <T> specification) { var evaluator = new SpecificationEvaluator <T>(); return(evaluator.GetQuery(_dbSet, specification)); }
private IQueryable <T> ApplySpecification(ISpecification <T> spec) { return(SpecificationEvaluator <T> .GetQuery(_collection.AsQueryable(), spec)); }
private IQueryable <TEntity> ApplySpecification(ISpecification <TEntity> spec) { return(SpecificationEvaluator <TEntity> .GetQuery(DbSet.AsQueryable(), spec)); }
private IQueryable <Flat> ApplySpecification(ISpecification <Flat> spec) { return(SpecificationEvaluator <Flat> .GetQuery(session.Query <Flat>().AsQueryable(), spec)); }
public Lote Get(ISpecification <Lote> especificacion) { return(SpecificationEvaluator <Lote> .GetQuery(_context.Lotes.AsQueryable(), especificacion).FirstOrDefault()); }
public ICollection <Lote> Gets(ISpecification <Lote> especificacion) { return(SpecificationEvaluator <Lote> .GetQuery(_context.Lotes.AsQueryable(), especificacion).ToList()); }
private IQueryable <T> ApplySpecification(ISpecification <T> spec) { var query = Context.Set <T>().AsQueryable(); return(SpecificationEvaluator <T> .GetQuery(query, spec)); }
private IQueryable <T> ApplySpecification(ISpecification <T> specification) => SpecificationEvaluator <T> .GetQuery(_dikolDbContext.Set <T>().AsQueryable(), specification);