Reputation: 25368
How transaction should be handled while using Unit of Work pattern in a WinForm application
Please advice
Any articles on this topic??
Upvotes: 4
Views: 813
Reputation: 346
Thus: Try to recognize the use-cases and represent these as UOWS.
Upvotes: 1
Reputation: 32223
We put a unit of work on the form/user control. Do all necessary methods then have the user call a save button. Then dispose the UOW when the form is closed.
Upvotes: 0