Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Hive/sources/HeuristicLab.Hive.New/HeuristicLab.Services.Hive.Common/3.3/DataTransfer/HiveItem.cs @ 4649

Last change on this file since 4649 was 4649, checked in by cneumuel, 14 years ago
  • moved db-context into datalayer
  • businesslayer only defines the transaction-scope
  • removed contextfactory
  • implemented convert-methods
  • made naming in db and domainobjects more consistent
  • changed wcf-service to be http-only (for now)

(#1233)

File size: 536 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Runtime.Serialization;
6using HeuristicLab.Common;
7
8namespace HeuristicLab.Services.Hive.Common.DataTransfer {
9  [DataContract]
10  [Serializable]
11  public abstract class HiveItem : HiveItemBase {
12    [DataMember]
13    public Guid Id { get; set; }
14
15    public virtual IDeepCloneable Clone(Cloner cloner) {
16      HiveItem clone = (HiveItem)base.Clone(cloner);
17      clone.Id = this.Id;
18      return clone;
19    }
20  }
21}
Note: See TracBrowser for help on using the repository browser.