public IQueryable <T> Get(CompositeSpecification <T> specification)
 {
     return(this.entities
            .Where(specification.ToExpression()));
 }
Exemple #2
0
 public virtual void AddFilter(CompositeSpecification <T> specification)
 {
     this.Filter = specification.ToExpression();
 }