Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/11/09 15:43:58 (15 years ago)
Author:
gkronber
Message:
  • Fixed bugs in the SQL comact backend for HL.Modeling.
  • Readded dispatching of stochastic algorithms in CEDMA dispatcher after it was deactivated unintentionally
  • Show algorithm name as model attribute in CEDMA results.

#712.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Modeling.Database.SQLServerCompact/3.2/DatabaseService.cs

    r2271 r2275  
    9494      using (ModelingDataContext ctx = new ModelingDataContext(connection)) {
    9595        ctx.ModelData.InsertOnSubmit(new ModelData(m, PersistenceManager.SaveToGZip(model.Data)));
     96        ctx.SubmitChanges();
    9697      }
    9798
     
    124125        foreach (MethodInfo inputVariableResultInfo in inputVariableResultInfos) {
    125126          Result result = GetOrCreateResult(inputVariableResultInfo.Name.Substring(3));
    126           foreach (InputVariable variable in ctx.InputVariables.Where(iv => iv.Model == model)) {
     127          foreach (InputVariable variable in ctx.InputVariables.Where(iv => iv.Model == m)) {
    127128            double value = (double)inputVariableResultInfo.Invoke(model, new object[] { variable.Variable.Name });
    128129            ctx.InputVariableResults.InsertOnSubmit(new InputVariableResult(variable, result, value));
Note: See TracChangeset for help on using the changeset viewer.