Exemplo n.º 1
0
 protected override IPagedList <Topic> ExecuteQuery(IQueryable <Topic> query, FilterableQueryInput parameters, int totalCount)
 {
     return(base.ExecuteQuery(query, parameters, totalCount));
 }
Exemplo n.º 2
0
 protected override void PrepareQueryInput(FilterableQueryInput queryInput)
 {
     base.PrepareQueryInput(queryInput);
     queryInput.Fields = new string[] { "Name", "Email" };
 }
Exemplo n.º 3
0
 public override IPagedList <Topic> GetAll(FilterableQueryInput parameters)
 {
     return(base.GetAll(parameters));
 }
Exemplo n.º 4
0
        protected override IPagedList <User> ExecuteQuery(IQueryable <User> query, FilterableQueryInput parameters, int totalCount)
        {
            query = query.Where(c => c.Name.StartsWithIgnoreCaseAndDiacritics(parameters.FilterText));

            return(base.ExecuteQuery(query, parameters, totalCount));
        }