Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3.3-Hive/sources/HeuristicLab.Hive/HeuristicLab.DataAccess.ADOHelper/3.3/ManyToManyRelation.cs @ 4342

Last change on this file since 4342 was 4133, checked in by cneumuel, 14 years ago
  • Made HiveExperiment storable, so that a running HiveExperiment can be disconnected, stored and later resumed. (#1115)
  • Added Log to each JobItem (#1115)
File size: 872 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using HeuristicLab.DataAccess.Interfaces;
6using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
7
8namespace HeuristicLab.DataAccess.ADOHelper {
9  [StorableClass]
10  public class ManyToManyRelation: PersistableObject {
11    [Storable]
12    public Guid Id2 { get; set; }
13    [Storable]
14    public IList<object> AdditionalAttributes { get; set; }
15
16    public ManyToManyRelation() {}
17
18    public ManyToManyRelation(bool deserializing) : base(deserializing) { }
19
20    public override Common.IDeepCloneable Clone(Common.Cloner cloner) {
21      ManyToManyRelation clone = (ManyToManyRelation) base.Clone(cloner);
22      clone.Id2 = this.Id2;
23      clone.AdditionalAttributes = new List<object>(this.AdditionalAttributes);
24      return clone;
25    }
26  }
27}
Note: See TracBrowser for help on using the repository browser.