» error handling
» Defensive programming (RSS)
Sorry, but there are no more tags available to filter with.
After timeouts we need to make sure that active transactions, if any, are rolled back. All timeout handling must be done on the client. This post provides the implementation and unit tests.
The following class extends SqlCommand and rolls back active transactions after timeouts:
public static class ...