示例#1
0
        private Expression BuildInner(Expression expression)
        {
            var eb = new ExecutionBuilder(policy, provider)
            {
                scope           = scope,
                receivingMember = receivingMember,
                nReaders        = nReaders,
                nLookup         = nLookup
            };

            return(eb.Build(expression));
        }
示例#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));
 }