public void Execute(TransformPackage package, IDictionary <string, string> namedParameters = null) { if (namedParameters != null) { package.Input.RepalceWithNamedParameters(namedParameters); package.Output.RepalceWithNamedParameters(namedParameters); } var input = _dataFactory.CreateDataInput(package.Input); var output = _dataFactory.CreateDataOutput(package.Output); var pipeline = new DataRowPipeline(); pipeline.Actions = package.Actions; input.Output = pipeline.Input; pipeline.Output = output.Input; pipeline.Link(); input.Start(); }
public void Execute(TransformPackage package, IDictionary<string, string> namedParameters = null) { if(namedParameters != null) { package.Input.RepalceWithNamedParameters(namedParameters); package.Output.RepalceWithNamedParameters(namedParameters); } var input = _dataFactory.CreateDataInput(package.Input); var output = _dataFactory.CreateDataOutput(package.Output); var pipeline = new DataRowPipeline(); pipeline.Actions = package.Actions; input.Output = pipeline.Input; pipeline.Output = output.Input; pipeline.Link(); input.Start(); }