/// <summary> /// Sends the specified command to the connection and builds a OracleDataReader object by using the specified /// command behavior. Uses the default retry policy when executing the command. /// </summary> /// <param name="command">The command object that is required for the extension method declaration.</param> /// <param name="behavior">One of the enumeration values that specifies the command behavior.</param> /// <returns>A System.Data.OracleClient.OracleDataReader object.</returns> public static async Task <OracleDataReader> ExecuteReaderWithRetryAsync(this OracleCommand command, CommandBehavior behavior) { return((OracleDataReader)await command.ExecuteReaderWithRetryAsync(behavior, RetryManager.Instance.GetDefaultOracleCommandRetryPolicy())); }