void ISqlTaskProcessor.ProcessTask(SqlLoadTask task, CommandProcessorContext context) { var part = Factory.CreateQueryPart(task, GetParameterPrefix(context)); context.ActiveCommand.AddPart(part); context.ActiveTasks.Add(task); }
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; }
public CommandPart CreateQueryPart(SqlLoadTask task, string parameterNamePrefix) { return(CreateQueryPart(task.Request, parameterNamePrefix, task.ParameterContext)); }
public CommandPart CreateQueryPart(SqlLoadTask task) { return(CreateQueryPart(task.Request, DefaultParameterNamePrefix, task.ParameterContext)); }