Unit of Work design pattern

For a new project at work I came along this design pattern. On the web I found some interesting posts about this one I really like to share with you.

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.

Liked what you read? Share this!