Exemplo n.º 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="expression"></param>
        /// <returns></returns>
        private Expression BuildInner(Expression expression)
        {
            var eb = new ExecutionBuilder(this.policy, this.provider);

            eb.scope           = this.scope;
            eb.receivingMember = this.receivingMember;
            eb.nReaders        = this.nReaders;
            eb.nLookup         = this.nLookup;
            return(eb.Build(expression));
        }
Exemplo n.º 2
0
 /// <summary>
 /// Converts a query into an execution plan.  The plan is an function that executes the query and builds the
 /// resulting objects.
 /// </summary>
 /// <param name="projection"></param>
 /// <param name="provider"></param>
 /// <returns></returns>
 public virtual Expression BuildExecutionPlan(Expression projection, Expression provider)
 {
     return(ExecutionBuilder.Build(this, projection, provider));
 }