public IQueryable GetQueryable(IEverything everything) { return(everything .Search() .Name .Contains(this.Pattern)); }
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); }
public IQueryable GetQueryable(IEverything everything) { return(everything.Search() .Size .Equal(this.PredefinedSize)); }