Exemplo n.º 1
0
            internal static List <AggregateSubqueryExpression> Gather(Expression expression)
            {
                AggregateGatherer gatherer = new AggregateGatherer();

                gatherer.Visit(expression);
                return(gatherer.aggregates);
            }
Exemplo n.º 2
0
            public static ReadOnlyCollection <AggregateSubqueryExpression> Gather(Expression expression)
            {
                var gatherer = new AggregateGatherer();

                gatherer.Visit(expression);
                return(new ReadOnlyCollection <AggregateSubqueryExpression>(gatherer.aggregates));
            }
Exemplo n.º 3
0
            internal static List <DbAggregateSubqueryExpression> Gather(Expression expression)
            {
                var gatherer = new AggregateGatherer();

                if (gatherer != null)
                {
                    gatherer.Visit(expression);
                }

                return(gatherer.aggregates);
            }
Exemplo n.º 4
0
 internal static List<AggregateRequestsExpression> Gather(Expression expression)
 {
     AggregateGatherer gatherer = new AggregateGatherer();
     gatherer.Visit(expression);
     return gatherer.aggregates;
 }
Exemplo n.º 5
0
 // internal static fields
 internal static IEnumerable<AggregateSubqueryExpression> Gather(Expression expression)
 {
     var gatherer = new AggregateGatherer();
     gatherer.Visit(expression);
     return gatherer._aggregates;
 }
 internal static List<DbAggregateSubqueryExpression> Gather(Expression expression)
 {
     AggregateGatherer gatherer = new AggregateGatherer();
     gatherer.Visit(expression);
     return gatherer.aggregates;
 }