What is Unit Of Work?

Technology CommunityCategory: ADO.NETWhat is Unit Of Work?
VietMX Staff asked 3 years ago

Unit of Work is referred to as a single transaction that involves multiple operations of insert/update/delete and so on kinds. To say it in simple words, it means that for a specific user action (say registration on a website), all the transactions like insert/update/delete and so on are done in one single transaction, rather than doing multiple database transactions.