- Timestamp:
- 08/13/09 17:28:07 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Modeling.Database.SQLServerCompact/3.2/DatabaseService.cs
r2278 r2285 72 72 } 73 73 74 public void Persist(HeuristicLab.Modeling.I Model model, string algorithmName, string algorithmDescription) {74 public void Persist(HeuristicLab.Modeling.IAnalyzerModel model, string algorithmName, string algorithmDescription) { 75 75 Dictionary<string, Variable> variables = GetAllVariables(); 76 76 Algorithm algo = GetOrCreateAlgorithm(algorithmName, algorithmDescription); … … 93 93 94 94 using (ModelingDataContext ctx = new ModelingDataContext(connection)) { 95 ctx.ModelData.InsertOnSubmit(new ModelData(m, PersistenceManager.SaveToGZip(model. Data)));95 ctx.ModelData.InsertOnSubmit(new ModelData(m, PersistenceManager.SaveToGZip(model.Predictor))); 96 96 ctx.SubmitChanges(); 97 97 }
Note: See TracChangeset
for help on using the changeset viewer.