Esempio n. 1
0
 public void ChainComponent(SsisComponent component)
 {
     if (_lastComponent != null)
     {
         MainPipe.PathCollection.New().AttachPathAndPropagateNotifications(_lastComponent.OutputCollection[0], component.Component.InputCollection[0]);
         component.Flush();
     }
     AddComponent(component);
 }
Esempio n. 2
0
 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);
     }
 }
Esempio n. 3
0
 public void AddComponent(SsisComponent component)
 {
     if (_lastComponent != component.Component)
     {
         _lastComponent = component.Component;
         _componentList.Add(component);
     }
 }
Esempio n. 4
0
 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);
     }
 }