DataBaseHolder.cpp 360 B

12345678910111213141516171819202122232425
  1. #include "StdAfx.h"
  2. #include "DataBaseHolder.h"
  3. CDataBaseHolder::CDataBaseHolder(void)
  4. {
  5. db_lock =NULL;
  6. bantch_db =NULL;
  7. }
  8. CDataBaseHolder::~CDataBaseHolder(void)
  9. {
  10. db_lock =NULL;
  11. bantch_db =NULL;
  12. }
  13. void CDataBaseHolder::SetDataBase( RTL_CRITICAL_SECTION* db_lock,CppSQLite3DB* bantch_db )
  14. {
  15. this->db_lock =db_lock;
  16. this->bantch_db =bantch_db;
  17. }