Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/23/09 16:23:44 (13 years ago)
Author:
mkommend
Message:

adapted SQLServerCompact database backend to meet new requirements regarding multiple connections (ticket #800)

File:
1 edited

Legend:

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

    r2482 r2525  
    3737      DatabaseService db = new DatabaseService(database);
    3838      db.Connect();
    39       if (db.GetDataset() == null)
    40         db.PersistProblem(ds);
     39      Dataset temp = db.GetDataset();
     40      if(temp == null)     
     41        db.PersistProblem(ds);     
    4142
    42       IAnalyzerModel model = new AnalyzerModel();
     43      IAnalyzerModel model = new AnalyzerModel();                 
    4344      DefaultModelAnalyzerOperators.PopulateAnalyzerModel(scope, model, modelType);
    44 
    4545      db.Persist(model, algorithm, algorithm);
    4646      db.Disconnect();
     47     
    4748
    4849      return null;
Note: See TracChangeset for help on using the changeset viewer.