public void MapOutput(string outputName, string externalColumnName, Lookup.MapType mapType) { ComponentInstance.InsertOutputColumnAt( Component.OutputCollection[0].ID, Component.OutputCollection[0].OutputColumnCollection.Count, outputName, outputName); string property = (mapType == MapType.JoinToReferenceColumn) ? "JoinToReferenceColumn" : "CopyFromReferenceColumn"; ComponentInstance.SetOutputColumnProperty( Component.OutputCollection[0].ID, Component.OutputCollection[0].OutputColumnCollection[outputName].ID, property, externalColumnName ); }