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