Exemple #1
0
 public conData_MYSQL()
 {
     m_DataSource = "";
     m_DataBase = "";
     m_UserName = "";
     m_crypted_Password = "";
     m_Crypt = new Crypt(encrypt_num);
 }
Exemple #2
0
 //public string m_WindowsAuthentication_UserName = SystemInformation.UserDomainName + "\\" + SystemInformation.UserName;
 public conData_MYSQL(string xDataSource,
                              string xDataBase,
                              string xUserName,
                              string xcrypted_Password)
 {
     m_DataSource = xDataSource;
     m_DataBase = xDataBase;
     m_UserName = xUserName;
     m_crypted_Password = xcrypted_Password;
     m_Crypt = new Crypt(encrypt_num);
 }
Exemple #3
0
 public conData_MSSQL()
 {
     m_DataSource = "";
     m_DataBase = "";
     m_UserName = "";
     m_crypted_Password = "";
     m_bWindowsAuthentication = false;
     m_strDataBaseFilePath = "";
     m_strDataBaseLogFilePath = "";
     m_Crypt = new Crypt(encrypt_num);
     m_TryToConnectTimeout_in_seconds = 60;
 }
Exemple #4
0
 public conData_MSSQL(      bool xbWindowsAuthentication,
                            string xDataSource,
                            string xDataBase,
                            string xUserName,
                            string x_crypted_Password,
                            string xstrDataBaseFilePath,
                            string xstrDataBaseLogFilePath,
                            int xTryToConnectTimeout_in_seconds)
 {
     m_DataSource = xDataSource;
         m_DataBase = xDataBase;
         m_UserName = xUserName;
         m_crypted_Password = x_crypted_Password;
         m_bWindowsAuthentication = xbWindowsAuthentication;
         m_strDataBaseFilePath = xstrDataBaseFilePath;
         m_strDataBaseLogFilePath = xstrDataBaseLogFilePath;
         m_Crypt = new Crypt(encrypt_num);
         m_TryToConnectTimeout_in_seconds = xTryToConnectTimeout_in_seconds;
 }
Exemple #5
0
 public conData_SQLITE(string xDataBaseFile, string xPassword)
 {
     DataBaseFile = xDataBaseFile;
     m_crypted_Password = xPassword;
     m_Crypt = new Crypt(encrypt_num);
 }