Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/28/12 10:49:02 (12 years ago)
Author:
jkarder
Message:

#1712: added user queue used to schedule tasks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HiveTaskScheduler/HeuristicLab.Services.Hive/3.3/Convert.cs

    r8687 r8707  
    531531    public static DT.UserPriority ToDto(DB.UserPriority source) {
    532532      if (source == null) return null;
    533       return new DT.UserPriority() { UserId = source.UserId };
     533      return new DT.UserPriority() { Id = source.UserId, DateEnqueued = source.DateEnqueued };
    534534    }
    535535    public static DB.UserPriority ToEntity(DT.UserPriority source) {
     
    540540    public static void ToEntity(DT.UserPriority source, DB.UserPriority target) {
    541541      if ((source != null) && (target != null)) {
    542         target.UserId = source.UserId;
     542        target.UserId = source.Id;
     543        target.DateEnqueued = source.DateEnqueued;
    543544      }
    544545    }
Note: See TracChangeset for help on using the changeset viewer.