protected void AddInputColumn(InputColumn column) { this.AddInputColumn(new List <InputColumn>() { column }); }
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); } } }
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); } } ; }
public new DerivedColumn AddInputColumn(InputColumn column) { base.AddInputColumn(column); return(this); }
public new Lookup AddInputColumn(InputColumn column) { base.AddInputColumn(column); return(this); }
public new ConditionalSplit AddInputColumn(InputColumn column) { base.AddInputColumn(column); return(this); }