Timer or Thread?
- by Pradeep Singh
I have a method(say method1) that writes to database(sqlserver)and another method(say method2) that tries to access the same database after some time and updates the data row that was created by method1.
The problem arises when method1 fails to access db due to the LAN being disconnected (this is not an exception this is a scenario that will…