Parent Directory | Revision Log
Refactored the database layer classes. Pushed most of the functions to the parent class.
1 | torben | 41 | /* |
2 | * Primary developers: Hedin & Kevin | ||
3 | */ | ||
4 | |||
5 | #pragma once | ||
6 | |||
7 | #include "DatabaseLayer.h" | ||
8 | #include "Containers.h" | ||
9 | torben | 47 | #include "ConfigFile.h" |
10 | torben | 41 | #include <vector> |
11 | |||
12 | |||
13 | using namespace std; | ||
14 | |||
15 | class MicrosoftDBLayer : public DatabaseLayer | ||
16 | { | ||
17 | public: | ||
18 | torben | 47 | MicrosoftDBLayer(ConfigFile &config); |
19 | torben | 60 | virtual ~MicrosoftDBLayer(void); |
20 | |||
21 | torben | 41 | |
22 | torben | 60 | virtual vector<Equipment> Search(CString barcode, CString name, CString inits, bool available, bool reserved, bool deposited); |
23 | protected: | ||
24 | virtual CString GenerateQueryForLatestCheckouts(CString barcode); | ||
25 | torben | 41 | }; |
ViewVC Help | |
Powered by ViewVC 1.1.20 |