- Timestamp:
- 03/02/11 04:28:19 (13 years ago)
- Location:
- branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Administration/Convert.cs
r5534 r5587 126 126 var entity = okb.BinaryDatas.Where(x => x.Hash.Equals(hash)).FirstOrDefault(); 127 127 if (entity == null) 128 entity = new DA.BinaryData() { Id = 0, Data = data };128 entity = new DA.BinaryData() { Id = 0, Data = data, Hash = hash }; 129 129 return entity; 130 130 } -
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/RunCreation/Convert.cs
r5478 r5587 122 122 var entity = okb.BinaryDatas.Where(x => x.Hash.Equals(hash)).FirstOrDefault(); 123 123 if (entity == null) 124 entity = new DA.BinaryData() { Id = 0, Data = data };124 entity = new DA.BinaryData() { Id = 0, Data = data, Hash = hash }; 125 125 return entity; 126 126 }
Note: See TracChangeset
for help on using the changeset viewer.