Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/28/09 15:29:10 (15 years ago)
Author:
mkommend
Message:

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

Location:
branches/HeuristicLab.Modeling Database Backend/sources/HeuristicLab.Modeling.Database.SQLServerCompact
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Modeling Database Backend/sources/HeuristicLab.Modeling.Database.SQLServerCompact/3.2/DataObjects/InputVariable.cs

    r2185 r2194  
    55using System.Text;
    66
    7 namespace HeuristicLab.Modeling.SQLServerCompactBackend {
     7namespace HeuristicLab.Modeling.Database.SQLServerCompact {
    88  [Table(Name = "InputVariable")]
    9   public class InputVariable {
     9  public class InputVariable : IInputVariable {
    1010    public InputVariable() {
    1111      this.model = default(EntityRef<Model>);
     
    2727          if (variable.HasLoadedOrAssignedValue)
    2828            throw new ForeignKeyReferenceAlreadyHasValueException();
    29           variableId = value;
     29          variableId = value;         
    3030        }
    3131      }
     
    3434    private EntityRef<Variable> variable;
    3535    [Association(Storage = "variable", ThisKey = "VariableId", OtherKey = "Id", IsForeignKey = true)]
    36     public Variable Variable {
     36    public IVariable Variable {
    3737      get { return variable.Entity; }
    3838    }
     
    5353    private EntityRef<Model> model;
    5454    [Association(Storage = "model", ThisKey = "ModelId", OtherKey = "Id", IsForeignKey = true)]
    55     public Model Model {
     55    public IModel Model {
    5656      get { return model.Entity; }
    5757    }
Note: See TracChangeset for help on using the changeset viewer.