The Unit of Work design pattern solves the problem, that other components / layers in your software then the persistency layer needs to keep track on which data needs to be inserted, updated or deleted. Also this pattern makes sure that all the data is saved within one transaction.
Tagged: design patterns
Nowadays in the world of software engineering the problems are getting more complex. Luckily for us there are proven solutions for parts we need to solve. These proven solutions we call design patterns.
This article describes how to use design patterns, anti-patterns and contains other resources where you can find more information about this topic.