public DynamicQueryParamBuilder Any(string field, Action <DynamicQueryParamGroupBuilder> builder)
        {
            var group = new DynamicQueryParamGroup();
            var bu    = new DynamicQueryParamGroupBuilder(group);

            builder.Invoke(bu);
            return(Add(CreateParam(QueryOperation.Any, field, JsonConvert.SerializeObject(group))));
        }
Exemplo n.º 2
0
 public DynamicQueryBuilder(bool pager)
 {
     _query            = new DynamicQuery(pager);
     ParamGroupBuilder = new DynamicQueryParamGroupBuilder(_query.ParamGroup);
 }