Ejemplo n.º 1
0
 public IRemoteServerExpressionPlan PrepareExpression(string expression, RemoteParam[] paramsValue, DebugLocator locator, out PlanDescriptor planDescriptor, RemoteProcessCleanupInfo cleanupInfo)
 {
     try
     {
         CleanupPlans(cleanupInfo);
         RemoteServerExpressionPlan remotePlan = new RemoteServerExpressionPlan(this, (ServerExpressionPlan)_serverProcess.PrepareExpression(expression, RemoteParamsToDataParams(paramsValue), locator));
         planDescriptor = GetPlanDescriptor(remotePlan, paramsValue);
         return(remotePlan);
     }
     catch (Exception E)
     {
         throw WrapException(E);
     }
 }