35. UnitOfWork
28 октября 2022 г.
9:41
the UnitOfWork is treated as a transaction as in all or nothing. The additional advantage of using a UnitOfWork is, that the object layer is able to group the operations and can use bulk mode to write the data into the database.
If you open a database on your own you are loosing the bulk optimization.
The UnitOfWork implicitly opens a database transaction during the first put operation.
From \<https://www.oneidentity.com/community/identity-manager/f/forum/22447/unitofwork-clarification>