Exemple #1
0
        /// <summary>
        /// constructor
        /// </summary>
        /// <param name="inputColumnName">input column name</param>
        /// <param name="dataTypeInput">input datatype</param>
        /// <param name="inputColumn">SSIS input column</param>
        public ColumnConfig(string inputColumnName, string dataTypeInput, IDTSInputColumn100 inputColumn)
        {
            _insert = false;
            _update = false;
            _key    = false;

            _inputColumnName  = inputColumnName;
            _outputColumnName = "";

            _default  = "";
            _function = "";

            _dataTypeInput     = dataTypeInput;
            _dataTypeOutput    = "";
            _dataTypeOutputNet = "";

            _isOutputPrimaryKey = false;
            _allowOutputDbNull  = false;
            _isOutputAutoId     = false;

            _inputColumnId = inputColumn.ID;

            //ID Mapping
            _customId = Guid.NewGuid().ToString();
            LineageMapping.SetIdProperty(_customId, inputColumn.CustomPropertyCollection);
        }