/// <summary> /// Crea el programa para procesar un script SQL /// </summary> internal async Task <bool> ProcessBySqlScriptAsync(string target, string fileName, CancellationToken cancellationToken) { Builder.ProgramBuilder builder = new Builder.ProgramBuilder(); // Añade los datos builder.WithBlock($"Process {System.IO.Path.GetFileName(fileName)}") .WithScript(target, fileName); // Devuelve el programa return(await ProcessAsync(builder.Build(), cancellationToken)); }