コード例 #1
0
 /// <summary>
 /// Executes a Transact-Oracle statement against the connection and returns the number of rows affected. 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>
 /// <returns>The number of rows affected.</returns>
 public static int ExecuteNonQueryWithRetry(this OracleCommand command)
 {
     return(command.ExecuteNonQueryWithRetry(RetryManager.Instance.GetDefaultOracleCommandRetryPolicy()));
 }