Example #1
0
        public IAggregationQuery <T> AndAggregateBy(FacetBase facet)
        {
            var expression = _convertExpressionIfNecessary(_source);

            _source = _source.Provider.CreateQuery <T>(Expression.Call(null, _aggregateByMethod.MakeGenericMethod(typeof(T)), expression, Expression.Constant(facet)));

            return(this);
        }
Example #2
0
 internal RangeFacet(FacetBase parent) : this()
 {
     _parent = parent;
 }
 public IAggregationDocumentQuery <T> AndAggregateBy(FacetBase facet)
 {
     _source.AggregateBy(facet);
     return(this);
 }