Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/06/13 11:38:38 (11 years ago)
Author:
ascheibe
Message:

#2030 merged r9665,r9666,r9675 into the stable branch

Location:
stable
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Services.Hive

  • stable/HeuristicLab.Services.Hive/3.3

    • Property svn:ignore
      •  

        old new  
        22bin
        33obj
         4*.user
  • stable/HeuristicLab.Services.Hive/3.3/Convert.cs

    r9456 r9700  
    102102    public static DT.TaskData ToDto(DB.TaskData source) {
    103103      if (source == null) return null;
    104       return new DT.TaskData { TaskId = source.TaskId, Data = source.Data.ToArray(), LastUpdate = source.LastUpdate };
     104      return new DT.TaskData { TaskId = source.TaskId, Data = source.Data, LastUpdate = source.LastUpdate };
    105105    }
    106106    public static DB.TaskData ToEntity(DT.TaskData source) {
     
    111111    public static void ToEntity(DT.TaskData source, DB.TaskData target) {
    112112      if ((source != null) && (target != null)) {
    113         target.TaskId = source.TaskId; target.Data = new Binary(source.Data); target.LastUpdate = source.LastUpdate;
     113        target.TaskId = source.TaskId;
     114        target.Data = source.Data;
     115        target.LastUpdate = source.LastUpdate;
    114116      }
    115117    }
     
    213215    public static void ToEntity(DT.PluginData source, DB.PluginData target) {
    214216      if ((source != null) && (target != null)) {
    215         target.PluginDataId = source.Id; target.PluginId = source.PluginId; target.Data = new Binary(source.Data); target.FileName = source.FileName;
     217        target.PluginDataId = source.Id;
     218        target.PluginId = source.PluginId;
     219        target.Data = source.Data;
     220        target.FileName = source.FileName;
    216221      }
    217222    }
Note: See TracChangeset for help on using the changeset viewer.