/[H6]/DatabaseLayer.h
ViewVC logotype

Annotation of /DatabaseLayer.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8 - (hide annotations) (download)
Wed Aug 30 12:39:09 2006 UTC (17 years, 7 months ago) by torben
File MIME type: text/plain
File size: 398 byte(s)
First version of DatabaseLayer
1 torben 8 #pragma once
2    
3     #include "Containers.h"
4     #include <vector>
5    
6     using namespace std;
7    
8     class DatabaseLayer
9     {
10     private:
11     CDatabase db;
12    
13     public:
14     DatabaseLayer(void);
15     ~DatabaseLayer(void);
16    
17     vector<Person> GetPersonAll(void);
18     Person GetPerson(CString wantInits);
19    
20     bool AddPerson(Person NewPerson);
21     bool UpdatePerson(Person ChangePerson);
22     bool DeletePerson(Person RemovePerson);
23     };

  ViewVC Help
Powered by ViewVC 1.1.20