Changeset 9428


Ignore:
Timestamp:
05/02/13 15:32:30 (6 years ago)
Author:
ascheibe
Message:

#2019 removed redundant db context in UpdateTaskState

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Services.Hive/3.3/HiveDao.cs

    r9427 r9428  
    212212          DateTime = DateTime.Now
    213213        });
    214         db.SubmitChanges();
    215       }
    216 
    217       using (var db = CreateContext()) {
    218         db.DeferredLoadingEnabled = false;
    219214
    220215        var task = db.Tasks.SingleOrDefault(x => x.TaskId == taskId);
Note: See TracChangeset for help on using the changeset viewer.