I have an asp.net/C# application and backend as oracle.
I need to use transactions. Below is the reqirement:
I have a table OrderDetails with columns as:
“OrderId” “Ordername” “OrderStatus”
All OrderNames are shown in front-end as radiobutton. Once radiobutton is checked, the status of that order should change to “In-Process” and on click of “Create Order” button on page, the status should change to “Booked”.
But in case radio button is unchecked or the Window is Closed, the status should change to “Available”.
Also, once radiobutton is checked, a timer should start in front-end. Timer duration should come from another table of backend. The Order can be kept “In-Process” only for that timer duration.
Any pointers on how I can achieve this functionality.
Thanks in Advance.
Here’ the basic outline:
AJAX in ASP.NET and updating Oracle database are pretty routing things and you should able to find a lot of information/tutorials on the web. Same for transactions – I would suggest using
TransactionScopefor easier handing of transactions.