Using Unit of Work Pattern

Опубликовано: 28 Октябрь 2024
на канале: Study Mash
35,793
566

Unit of work and repository pattern goes hand in hand. We use Unit of Work to perform various CRUD operations on multiple repositories as a single Unit of Work. Means either all of operations should be successful in a transaction or nothing should be committed to the persistence storage. It will help to avoid database inconsistency.

Next we will understand what is Data Transform Objects (DTO) and how those are important to protect our API from various security vulnerability.

Code of up to this point is available on below GIT repository
https://github.com/webtrainer-in/HSPA... .

You can support me by donating on
https://www.buymeacoffee.com/studymash

Thanks
Studymash