Example #1
0
        public void MapInput(string inputColumnName, TermLookup.InputColumnUsageType inputColumnUsageType)
        {
            this.SetInputUsageType(inputColumnName, DTSUsageType.UT_READONLY);

            ComponentInstance.SetInputColumnProperty(
                Component.InputCollection[0].ID,
                Component.InputCollection[0].InputColumnCollection[inputColumnName].ID,
                "InputColumnType",
                (int)inputColumnUsageType
                );
        }
Example #2
0
        public void MapInput(string inputName, string externalColumnName, Lookup.MapType mapType)
        {
            this.SetInputUsageType(inputName, DTSUsageType.UT_READONLY);

            string property = (mapType == MapType.JoinToReferenceColumn)
                               ? "JoinToReferenceColumn"
                               : "CopyFromReferenceColumn";

            ComponentInstance.SetInputColumnProperty(
                Component.InputCollection[0].ID,
                Component.InputCollection[0].InputColumnCollection[inputName].ID,
                property,
                externalColumnName
                );
        }