Last change
on this file since 2195 was
2194,
checked in by mkommend, 16 years ago
|
adapted HeuristicLab.Modeling.Database and Database.SQLServerCompact (ticket #712)
|
File size:
1.2 KB
|
Rev | Line | |
---|
[2180] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.Data.Linq;
|
---|
| 4 | using System.Data.Linq.Mapping;
|
---|
| 5 | using System.Data.Sql;
|
---|
| 6 | using System.Text;
|
---|
| 7 |
|
---|
[2194] | 8 | namespace HeuristicLab.Modeling.Database.SQLServerCompact {
|
---|
[2180] | 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.