Free cookie consent management tool by TermsFeed Policy Generator

Changeset 2398 for trunk


Ignore:
Timestamp:
09/28/09 17:00:37 (15 years ago)
Author:
mkommend
Message:

adapted behaviour of CEDMA server to the new modeling database (ticket #759)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.CEDMA.Server/3.3/Server.cs

    r2375 r2398  
    5858    public Server() {
    5959      database = new DatabaseService(sqlServerCompactConnectionString);
    60       dataset = new Dataset();
    61       try {
    62         dataset = database.GetDataset();
    63       }
    64       catch (InvalidOperationException) {
    65       }
     60      dataset = database.GetDataset();
     61      if (dataset == null)
     62        dataset = new Dataset();     
    6663    }
    6764
Note: See TracChangeset for help on using the changeset viewer.