Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/24/10 02:54:35 (13 years ago)
Author:
swagner
Message:

Worked on OKB (#1174)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/OKB/HeuristicLab.Clients.OKB-3.3/ServiceClients/DataType.cs

    r4566 r4918  
    2626  [Item("DataType", "An OKB data type.")]
    2727  public partial class DataType {
     28    protected DataType(DataType original, Cloner cloner)
     29      : base(original, cloner) {
     30      Name = original.Name;
     31      SqlName = original.SqlName;
     32      PlatformId = original.PlatformId;
     33    }
    2834    public DataType() {
    2935      Name = "New Data Type";
     
    3339
    3440    public override IDeepCloneable Clone(Cloner cloner) {
    35       DataType clone = (DataType)base.Clone(cloner);
    36       clone.Name = Name;
    37       clone.SqlName = SqlName;
    38       clone.PlatformId = PlatformId;
    39       return clone;
     41      return new DataType(this, cloner);
    4042    }
    4143
Note: See TracChangeset for help on using the changeset viewer.