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.
21 lines
341 B
C++
21 lines
341 B
C++
#pragma once
|
|
#include <string>
|
|
|
|
#include "DllDefines.h"
|
|
|
|
#include "../include/dbini.h"
|
|
|
|
class UTILITYDLL DbConfig
|
|
{
|
|
public:
|
|
static DbConfig& Instance();
|
|
std::string ConnectionString(const std::string& strDbName) const;
|
|
|
|
private:
|
|
DbConfig(void);
|
|
~DbConfig(void);
|
|
|
|
//
|
|
std::string m_strProvider{ CONNECTION_STRING };
|
|
};
|