/// <summary> /// Creates the connection string to connect to the environment database. /// </summary> /// <param name="environment">Name of environment to connect to.</param> /// <returns>The connection string to connect to the environment database.</returns> private string CreateEnvironmentConnectionString(string environment) { List <object> connectionInfo = this.QueryEnvironmentConnectionInformation(environment); this.EnvDBName = connectionInfo[2].ToString(); string t_host = connectionInfo[0].ToString(); string t_port = connectionInfo[1].ToString(); string t_db_name = connectionInfo[2].ToString(); string t_username = connectionInfo[3].ToString(); string t_password = connectionInfo[4].ToString(); return(OracleDatabase.CreateConnectionString( t_host, t_port, t_db_name, t_username, t_password)); }