/// <summary> /// Returns the default retry policy dedicated to handling transient conditions with Oracle connections. /// </summary> /// <returns>The retry policy for Oracle connections with the corresponding default strategy (or the default strategy, if no retry strategy for Oracle connections was found).</returns> public static RetryPolicy GetDefaultOracleConnectionRetryPolicy(this RetryManager retryManager) { if (retryManager == null) { throw new ArgumentNullException("retryManager"); } return(new RetryPolicy(new OracleDatabaseTransientErrorDetectionStrategy(), retryManager.GetDefaultOracleConnectionRetryStrategy())); }