Exemple #1
0
 private static TResult Execute <TResult>(IQueryable queryable, System.Linq.Expressions.Expression expression) =>
 queryable.Provider.Execute <TResult>(AggregateQuery <TVal> .Rewrite(queryable, expression));
Exemple #2
0
        private static IEnumerable <TVal> GetSubQuery(IQueryable queryable, System.Linq.Expressions.Expression expression)
        {
            expression = AggregateQuery <TVal> .Rewrite(queryable, expression);

            return(new BufferedEnumerable <TVal>(queryable.Provider.CreateQuery <TVal>(expression), 30));
        }