using System; using System.Collections.Generic; using System.Data.Linq; using System.Data.Linq.Mapping; using System.Data.Sql; using System.Text; namespace HeuristicLab.Modeling.SQLiteBackend { public class ModelingDataContext : DataContext{ public static string connectionString; public ModelingDataContext() : this(connectionString) { } public ModelingDataContext(string connection) : base(connection) { } #region Tables public Table Algorithms { get { return GetTable(); } } public Table Variables { get { return GetTable(); } } public Table Problems { get { return GetTable(); } } public Table Results { get { return GetTable(); } } public Table Models { get { return GetTable(); } } public Table InputVariableResults { get { return GetTable(); } } public Table ModelResults { get { return GetTable(); } } public Table InputVariables { get { return GetTable(); } } #endregion } }