Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeValues/SearchCommandBase.cs @ 6133

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

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

File size: 891 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using HeuristicLab.DataImporter.Data.CommandBase;
6using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
7using HeuristicLab.DataImporter.Data.Model;
8
9namespace HeuristicLab.DataImporter.Command {
10  [StorableClass]
11  public abstract class SearchCommandBase : ColumnGroupCommandWithAffectedColumnsBase {
12     private SearchCommandBase()
13      : base(null,string.Empty,null) {
14    }
15
16     public SearchCommandBase(DataSet dataSet, string columnGroupName, int[] affectedColumns) :
17      base(dataSet, columnGroupName, affectedColumns) {
18    }
19
20     [Storable]
21     private string searchValue;
22     public string SearchValue {
23       get { return this.searchValue; }
24       set { this.searchValue = string.IsNullOrEmpty(value) ? null : value.Trim(); }
25     }
26  }
27}
Note: See TracBrowser for help on using the repository browser.