public void EmitPatterns(SSISEmitterContext context) { foreach (IR.Task.Task task in this._logicalContainer.Tasks) { // TODO: No need to preserve context? context.InstantiateEmitter(task, context).Emit(); } }
public void EmitPatterns(SSISEmitterContext context) { foreach (IR.Task.Task task in this._logicalContainer.Tasks) { // TODO: No need to preserve context? context.InstantiateEmitter(task, context).Emit(); } }
public SSISEmitterContext Emit() { MessageEngine.Global.Trace(Severity.Notification, Resources.EmittingETL, _logicalETL.Name); _dataFlowTask = (DTS.TaskHost)Context.SSISSequence.AppendExecutable("STOCK:PipelineTask"); _dataFlowTask.Properties["DelayValidation"].SetValue(_dataFlowTask, _logicalETL.DelayValidation); _dataFlowTask.Properties["IsolationLevel"].SetValue(_dataFlowTask, _logicalETL.IsolationLevel); _dataFlowTask.Name = _logicalETL.Name; this.NewDataFlow(); SSISEmitterContext dataFlowContext = _context.AddDataFlow(this); foreach (Transformation t in _logicalETL.Transformations) { dataFlowContext.InstantiateEmitter(t, dataFlowContext).Emit(); } return(_context); }