public void ChainComponent(SsisComponent component) { if (_lastComponent != null) { MainPipe.PathCollection.New().AttachPathAndPropagateNotifications(_lastComponent.OutputCollection[0], component.Component.InputCollection[0]); component.Flush(); } AddComponent(component); }
public void ChainComponent(SsisComponent component, InputPath inputPath) { if (inputPath == null || (string.IsNullOrEmpty(inputPath.Name) && string.IsNullOrEmpty(inputPath.Source))) { ChainComponent(component); } else { IDTSOutput100 dtsOutput = FindOutput(inputPath); MainPipe.PathCollection.New().AttachPathAndPropagateNotifications(dtsOutput, component.Component.InputCollection[0]); component.Flush(); AddComponent(component); } }
public void AddComponent(SsisComponent component) { if (_lastComponent != component.Component) { _lastComponent = component.Component; _componentList.Add(component); } }
public void ChainComponent(SsisComponent component, InputPath inputPath, IDTSInput100 input) { if (input == null) { ChainComponent(component, inputPath); } else { IDTSOutput100 dtsOutput = FindOutput(inputPath); MainPipe.PathCollection.New().AttachPathAndPropagateNotifications(dtsOutput, input); component.Flush(); AddComponent(component); } }