Changeset 4119 for branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.LINQDataAccess/3.3/JobDao.cs
- Timestamp:
- 07/28/10 17:48:10 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.LINQDataAccess/3.3/JobDao.cs
r4116 r4119 26 26 27 27 public IEnumerable<JobDto> FindWithLimitations(State jobState, int offset, int count) { 28 29 28 IQueryable<JobDto> query = null; 30 29 if (jobState == State.Finished) { … … 80 79 job.JobInfo.Id = j.JobId; 81 80 return job; 82 83 81 } 84 82 … … 104 102 select EntityToDto(j, null)).ToList(); 105 103 } 104 106 105 public IEnumerable<JobDto> FindFittingJobsForClient(State state, int freeCores, int freeMemory, Guid clientId) { 107 106 ClientGroupDao cgd = new ClientGroupDao(); … … 119 118 select EntityToDto(ar.Job, null)); 120 119 return q.ToList(); 121 122 120 } 123 121
Note: See TracChangeset
for help on using the changeset viewer.