You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
307 B
C
18 lines
307 B
C
|
3 years ago
|
#pragma once
|
||
|
|
#include <string>
|
||
|
|
#include "DllDefines.h"
|
||
|
|
|
||
|
|
class UTILITYDLL DbConfig
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
static DbConfig& Instance();
|
||
|
|
std::string ConnectionString(std::string strDbName);
|
||
|
|
|
||
|
|
private:
|
||
|
|
DbConfig(void);
|
||
|
|
~DbConfig(void);
|
||
|
|
static DbConfig theInstance;
|
||
|
|
//
|
||
|
|
std::string m_strProvider;
|
||
|
|
};
|