Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Modeling Database Backend/sources/HeuristicLab.Modeling.Database.SQLServerCompact/3.2/ModelingDataContext.cs @ 2194

Last change on this file since 2194 was 2194, checked in by mkommend, 15 years ago

adapted HeuristicLab.Modeling.Database and Database.SQLServerCompact (ticket #712)

File size: 1.2 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Data.Linq;
4using System.Data.Linq.Mapping;
5using System.Data.Sql;
6using System.Text;
7
8namespace HeuristicLab.Modeling.Database.SQLServerCompact {
9  public class ModelingDataContext : DataContext{
10    public ModelingDataContext(string connection)
11      : base(connection) {
12    }
13
14    #region Tables
15    public Table<Algorithm> Algorithms {
16      get { return GetTable<Algorithm>(); }
17    }
18
19    public Table<Variable> Variables {
20      get { return GetTable<Variable>(); }
21    }
22
23    public Table<Problem> Problems {
24      get { return GetTable<Problem>(); }
25    }
26
27    public Table<Result> Results {
28      get { return GetTable<Result>(); }
29    }
30
31    public Table<Model> Models {
32      get { return GetTable<Model>(); }
33    }
34
35    public Table<InputVariableResult> InputVariableResults {
36      get { return GetTable<InputVariableResult>(); }
37    }
38
39    public Table<ModelResult> ModelResults {
40      get { return GetTable<ModelResult>(); }
41    }
42
43    public Table<InputVariable> InputVariables {
44      get { return GetTable<InputVariable>(); }
45    }
46    #endregion
47  }
48}
Note: See TracBrowser for help on using the repository browser.