Changeset 12584 for branches/HiveStatistics/sources/HeuristicLab.Services.Hive.DataAccess/3.3/Daos/JobPermissionDao.cs
- Timestamp:
- 07/03/15 16:35:17 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveStatistics/sources/HeuristicLab.Services.Hive.DataAccess/3.3/Daos/JobPermissionDao.cs
r12468 r12584 22 22 using System; 23 23 using System.Data.Linq; 24 using System.Linq; 24 25 25 26 namespace HeuristicLab.Services.Hive.DataAccess.Daos { … … 30 31 throw new NotImplementedException(); 31 32 } 33 34 public JobPermission GetByJobAndUserId(Guid jobId, Guid userId) { 35 return Table.SingleOrDefault(x => x.JobId == jobId && x.GrantedUserId == userId); 36 } 32 37 } 33 38 }
Note: See TracChangeset
for help on using the changeset viewer.