Esempio n. 1
0
 protected void AddInputColumn(InputColumn column)
 {
     this.AddInputColumn(new List <InputColumn>()
     {
         column
     });
 }
Esempio n. 2
0
 public void AddInputColumn(IList <InputColumn> columns)
 {
     GetDefaultVirtualInput();
     for (int i = 0; i < DefaultVirtualInputColumnCollection.Count; i++)
     {
         InputColumn column = columns.Where(input => input.Name == DefaultVirtualInputColumnCollection
                                            [i].Name).FirstOrDefault();
         if (column != null)
         {
             ComponentWrapper.SetUsageType(SSISDefaultInput.ID, DefaultVirtualInput, DefaultVirtualInputColumnCollection[i].LineageID, (Pipe.DTSUsageType)column.UsageType);
         }
     }
 }
Esempio n. 3
0
        protected void AddInputColumnForInput(InputColumn column, string inputName)
        {
            GetAllVirtualInputs();
            Pipe.IDTSVirtualInput100 virtualInput = VirtualInputs.Where(vi => vi.Description == inputName).First();

            Pipe.IDTSInput100 input = SSISInputs.Where(i => i.Name == inputName).First();
            for (int i = 0; i < VirtualInputsColumnCollections[virtualInput].Count; i++)
            {
                if (column.Name == VirtualInputsColumnCollections[virtualInput][i].Name)
                {
                    ComponentWrapper.SetUsageType(input.ID, virtualInput, VirtualInputsColumnCollections[virtualInput][i].LineageID, (Pipe.DTSUsageType)column.UsageType);
                }
            }
            ;
        }
Esempio n. 4
0
 public new DerivedColumn AddInputColumn(InputColumn column)
 {
     base.AddInputColumn(column);
     return(this);
 }
Esempio n. 5
0
 public new Lookup AddInputColumn(InputColumn column)
 {
     base.AddInputColumn(column);
     return(this);
 }
Esempio n. 6
0
 public new ConditionalSplit AddInputColumn(InputColumn column)
 {
     base.AddInputColumn(column);
     return(this);
 }