Example #1
0
        void ISqlTaskProcessor.ProcessTask(SqlLoadTask task, CommandProcessorContext context)
        {
            var part = Factory.CreateQueryPart(task, GetParameterPrefix(context));

            context.ActiveCommand.AddPart(part);
            context.ActiveTasks.Add(task);
        }
Example #2
0
        void ISqlTaskProcessor.ProcessTask(SqlLoadTask task, CommandProcessorContext context)
        {
            var part = Factory.CreateQueryPart(task, GetParameterPrefix(context));

            if (PendCommandPart(context.ActiveCommand, part))
            {
                return;
            }
            context.ActiveCommand.AddPart(part);
            context.ActiveTasks.Add(task);
            context.CurrentTask = null;
        }
Example #3
0
 public CommandPart CreateQueryPart(SqlLoadTask task, string parameterNamePrefix)
 {
     return(CreateQueryPart(task.Request, parameterNamePrefix, task.ParameterContext));
 }
Example #4
0
 public CommandPart CreateQueryPart(SqlLoadTask task)
 {
     return(CreateQueryPart(task.Request, DefaultParameterNamePrefix, task.ParameterContext));
 }