- Timestamp:
- 01/20/12 15:02:06 (13 years ago)
- Location:
- branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/Convert.cs
r7331 r7385 29 29 public static DT.Run ToDto(DA.Run source, bool includeBinaryValues) { 30 30 if (source == null) return null; 31 var dto = new DT.Run { Id = source.Id, Algorithm = Convert.ToDto(source.Algorithm), Problem = Convert.ToDto(source.Problem), CreatedDate = source.CreatedDate, RandomSeed = source.RandomSeed,ClientId = source.ClientId, UserId = source.UserId };31 var dto = new DT.Run { Id = source.Id, Algorithm = Convert.ToDto(source.Algorithm), Problem = Convert.ToDto(source.Problem), CreatedDate = source.CreatedDate, ClientId = source.ClientId, UserId = source.UserId }; 32 32 dto.ParameterValues = source.Values.Where(x => x.ValueName.Category == DA.ValueNameCategory.Parameter).Select(x => Convert.ToDto(x, includeBinaryValues)).ToArray(); 33 33 dto.ResultValues = source.Values.Where(x => x.ValueName.Category == DA.ValueNameCategory.Result).Select(x => Convert.ToDto(x, includeBinaryValues)).ToArray(); -
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/Run.cs
r7331 r7385 34 34 public Problem Problem { get; set; } 35 35 [DataMember] 36 public int RandomSeed { get; set; }37 [DataMember]38 36 public DateTime CreatedDate { get; set; } 39 37 [DataMember] -
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/QueryService.cs
r7331 r7385 39 39 using (OKBDataContext okb = new OKBDataContext()) { 40 40 #region Run Filters 41 filters.Add(new OrdinalComparisonLongFilter(typeof(RunRandomSeedFilter).AssemblyQualifiedName, "Run Random Seed"));42 41 filters.Add(new OrdinalComparisonDateTimeFilter(typeof(RunCreatedDateFilter).AssemblyQualifiedName, "Run Created Date")); 43 42 filters.Add(new StringComparisonFilter(typeof(RunUserNameFilter).AssemblyQualifiedName, "Run User Name"));
Note: See TracChangeset
for help on using the changeset viewer.