/// <summary> /// Executes a Transact-MySql 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 MySqlCommand command) { return(command.ExecuteNonQueryWithRetry(RetryManager.Instance.GetDefaultMySqlCommandRetryPolicy())); }