예제 #1
0
파일: Lookup.cs 프로젝트: mosamy/vulcan
        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
                );
        }