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