Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/13/11 00:27:59 (13 years ago)
Author:
ascheibe
Message:

#1233

  • implemented usage of checksums for comparing assemblies
  • re-added CreateHiveDatabaseApplication.cs to project
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.DataAccess/3.4/Convert.cs

    r6372 r6407  
    167167    public static DT.Plugin ToDto(Plugin source) {
    168168      if (source == null) return null;
    169       return new DT.Plugin { Id = source.PluginId, Name = source.Name, Version = new Version(source.Version), UserId = source.UserId, IsLocal = source.IsLocal, DateCreated = source.DateCreated };
     169      return new DT.Plugin { Id = source.PluginId, Name = source.Name, Version = new Version(source.Version), UserId = source.UserId, IsLocal = source.IsLocal, DateCreated = source.DateCreated, Hash = source.Hash };
    170170    }
    171171    public static Plugin ToEntity(DT.Plugin source) {
     
    176176    public static void ToEntity(DT.Plugin source, Plugin target) {
    177177      if ((source != null) && (target != null)) {
    178         target.PluginId = source.Id; target.Name = source.Name; target.Version = source.Version.ToString(); target.UserId = source.UserId; target.IsLocal = source.IsLocal; target.DateCreated = source.DateCreated;
     178        target.PluginId = source.Id; target.Name = source.Name; target.Version = source.Version.ToString(); target.UserId = source.UserId; target.IsLocal = source.IsLocal; target.DateCreated = source.DateCreated; target.Hash = source.Hash;
    179179      }
    180180    }
Note: See TracChangeset for help on using the changeset viewer.