Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.CEDMA.DB/Agent.cs @ 1038

Last change on this file since 1038 was 357, checked in by gkronber, 16 years ago

worked on ticket #187. code is a mess. work-in-progress.

File size: 750 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Data.Linq.Mapping;
6using HeuristicLab.CEDMA.DB.Interfaces;
7
8namespace HeuristicLab.CEDMA.DB {
9  [Table(Name = "AgentTable")]
10  class Agent : IAgent {
11    [Column(IsPrimaryKey = true)]
12    public int ID;
13    [Column]
14    public string Name;
15    [Column]
16    public AgentStatus Status;
17    [Column]
18    public byte[] RawData;
19
20    string IAgent.Name {
21      get { return this.Name; }
22    }
23
24    AgentStatus IAgent.Status {
25      get { return this.Status; }
26    }
27
28    byte[] IAgent.RawData {
29      get { return this.RawData; }
30    }
31
32    public void Save() {
33      throw new NotImplementedException();
34    }
35  }
36}
Note: See TracBrowser for help on using the repository browser.