/// <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 Task <int> ExecuteNonQueryWithRetryAsync(this MySqlCommand command) { return(command.ExecuteNonQueryWithRetryAsync(RetryManager.Instance.GetDefaultMySqlCommandRetryPolicy())); }