Changeset 2179 for branches/HeuristicLab.Modeling Database Backend/sources/HeuristicLab.Modeling.SQLiteBackend/3.2/Problem.cs
- Timestamp:
- 07/23/09 11:01:40 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Modeling Database Backend/sources/HeuristicLab.Modeling.SQLiteBackend/3.2/Problem.cs
r2178 r2179 13 13 } 14 14 15 public Problem(Dataset dataset) 16 : this() { 17 this.dataset = dataset; 18 } 19 15 20 private int id; 16 [Column(Storage = "id", DbType = "integer",IsPrimaryKey = true, IsDbGenerated = true)]21 [Column(Storage = "id", IsPrimaryKey = true, IsDbGenerated = true)] 17 22 public int Id { 18 23 get { return this.id; } … … 21 26 22 27 private Dataset dataset; 23 [Column(Storage = "dataset", DbType = " text", CanBeNull = false)]28 [Column(Storage = "dataset", DbType = "varbinary(8000)", CanBeNull = false)] 24 29 public Dataset Dataset { 25 30 get { return this.dataset; } 26 set { this.dataset = value; }27 } 31 private set { this.dataset = value; } 32 } 28 33 } 29 34 }
Note: See TracChangeset
for help on using the changeset viewer.