Qui-Gon Jinn
✅ do i use BeginTransaction() correctly?
hi, am i using BeginTransaction() correctly? here is my code:
so after the offer has been checked it can still be deleted afterwards. By using BeginTransaction() i can have every condition (that is inside the transaction using block) atomic, if something changes, for example my offer gets deleted, SaveChangesAsync throws an exception and calls the Rollback function. right?
8 replies