示例#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);
 }
示例#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);
     }
 }
示例#3
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);
     }
 }