Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeColumnGroup/AddNewStringColumnCommand.cs @ 6133

Last change on this file since 6133 was 6133, checked in by gkronber, 14 years ago

#1471: imported generic parts of DataImporter from private code base

File size: 1.1 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using HeuristicLab.DataImporter.Data.CommandBase;
6using HeuristicLab.DataImporter.Data.Model;
7using HeuristicLab.DataImporter.Data;
8using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
9
10namespace HeuristicLab.DataImporter.Command {
11  [StorableClass]
12  [ViewableCommandInfoAttribute("New StringColumn", 1, ColumnGroupState.Active, "Column Commands", Position = 8)]
13  public class AddNewStringColumnCommand : AddNewColumnCommandBase {
14    private AddNewStringColumnCommand()
15      : base(null,string.Empty,string.Empty,typeof(StringColumn)) {
16    }
17
18    public AddNewStringColumnCommand(DataSet dataSet, string columnGroupName)
19      : this(dataSet, columnGroupName, "New StringColumn") {
20    }
21
22    public AddNewStringColumnCommand(DataSet dataSet, string columnGroupName, string columnName)
23      : base(dataSet, columnGroupName, columnName, typeof(StringColumn)) {
24    }
25
26    public override string Description {
27      get { return "New StringColumn"; }
28    }
29  }
30}
Note: See TracBrowser for help on using the repository browser.