public IQueryable GetQueryable(IEverything everything)
 {
     return(everything
            .Search()
            .Name
            .Contains(this.Pattern));
 }
Example #2
0
        public IQueryable GetQueryable(IEverything everything)
        {
            if (this.From.HasValue && this.To.HasValue)
            {
                return(everything
                       .Search()
                       .ModificationDate
                       .Between(this.From.Value, this.To.Value));
            }
            else if (this.From.HasValue)
            {
                return(everything
                       .Search()
                       .ModificationDate
                       .Equal(this.From.Value));
            }

            return(null);
        }
Example #3
0
 public IQueryable GetQueryable(IEverything everything)
 {
     return(everything.Search()
            .Size
            .Equal(this.PredefinedSize));
 }