Beispiel #1
0
 public void ReadSettings()
 {
     string Err = null;
     if (m_Settings_RemoteDB.Load(ref Err))
     {
         DBType = (Log_DBConnection.eDBType)m_Settings_RemoteDB.DBType();
         bWindowsAuthentication = m_Settings_RemoteDB.bWindowsAuthentication();
         DataSource = m_Settings_RemoteDB.DataSource();
         DataBase = m_Settings_RemoteDB.DataBase();
         UserName = m_Settings_RemoteDB.UserName();
         crypted_Password = m_Settings_RemoteDB.crypted_Password();
         strDataBaseFilePath = m_Settings_RemoteDB.strDataBaseFilePath();
         strDataBaseLogFilePath = m_Settings_RemoteDB.strDataBaseLogFilePath();
         bChanged = false;
     }
     else
     {
         Error.Show("ERROR:Log_RemoteDB_data:Settings not read !");
     }
 }
Beispiel #2
0
 public Log_RemoteDB_data(string inifile_prefix,int i, Log_DBConnection.eDBType xDBType, string xConnectionName)
 {
     ConnectionName = xConnectionName;
     DBType = xDBType;
     Settings_Index = i;
     m_Settings_RemoteDB = new Settings_RemoteDB(inifile_prefix, Settings_Index);
     ReadSettings();
 }