17 lines
375 B
C
17 lines
375 B
C
|
#pragma once
|
||
|
#include "BaseDao.h"
|
||
|
#include "../bean/ParamSetCfg.h"
|
||
|
#include <sstream>
|
||
|
|
||
|
class ParamSetCfgDao : public BaseDao
|
||
|
{
|
||
|
public:
|
||
|
ParamSetCfgDao(SQLite::Database* pdb);
|
||
|
~ParamSetCfgDao();
|
||
|
void CreateTable();
|
||
|
void Find(ParamSetCfg& cfg);
|
||
|
void Save(ParamSetCfg& cfg);
|
||
|
void Export(ParamSetCfg &cfg, stringstream &sql);
|
||
|
void Import(ParamSetCfg &cfg, string &sql);
|
||
|
};
|