private IConnectionString CreateConnectionString(ConnectionStringConfigurationElement connectionConfig) { var connectionString = connectionConfig.ConnectionString; var isCrypted = connectionConfig.Crypted; if (isCrypted) { var decrypter = new ConnectionStringDecrypter(); connectionString = decrypter.Decrypt(connectionString); } var oracleConnectionString = new OracleConnectionString(connectionString); return oracleConnectionString; }
private IConnectionString CreateConnectionString(ConnectionStringConfigurationElement connectionConfig) { var connectionString = connectionConfig.ConnectionString; var isCrypted = connectionConfig.Crypted; if (isCrypted) { var decrypter = new ConnectionStringDecrypter(); connectionString = decrypter.Decrypt(connectionString); } var oracleConnectionString = new OracleConnectionString(connectionString); return(oracleConnectionString); }