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