I am implementing a recovery feature for an application with multiple methods making data access calls to SQL Server. The idea is to be able to the subscriber database if the connection failed.
I would like to centralize the error handler to prevent putting try-catch around every sql call command, which I have already done successfully, however, I am not sure how to re-execute the operation that caused the error? Is it possible to "retry" in .NET?