public void AddGroupBy(AddGroupByFormatParameter source)
        {
            var parameter = new GroupByDataFormatParameter(source.ColumnName);

            _format.Parameters.Insert(_format.Parameters.Count - 2, parameter);
            new GroupByDataFormatParameter(source.ColumnName);
            setDataFormat(_mappings
                          .Where(f => !(f.Source is AddGroupByFormatParameter))
                          .Select(f => f.Source)
                          .Append(parameter)
                          .ToList());
        }
Example #2
0
        protected override void Context()
        {
            base.Context();
            UpdateSettings();
            GroupByDataFormatParameter groupBySource = null;

            groupBySource = _parameters[3] as GroupByDataFormatParameter;

            _model = new ColumnMappingDTO(ColumnMappingDTO.ColumnType.GroupBy, "Study id", groupBySource, 0)
            {
                ExcelColumn = "Study id"
            };
        }