Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
 internal RangeFacet(FacetBase parent) : this()
 {
     _parent = parent;
 }
Ejemplo n.º 3
0
 public IAggregationDocumentQuery <T> AndAggregateBy(FacetBase facet)
 {
     _source.AggregateBy(facet);
     return(this);
 }