fix(transaction): preserve primary failures

Keep action and commit exceptions when rollback fails; clear owned transaction state and cover the lifecycle with SQLite tests.

Ref: IT-1588
This commit is contained in:
2026-10-15 13:33:52 +03:00
parent 1da2dd8579
commit 93d9ae3f9b
8 changed files with 324 additions and 41 deletions
+6
View File
@@ -0,0 +1,6 @@
namespace HrynCo.DAL.EF.Tests;
using HrynCo.DAL.EF.Core;
using Microsoft.EntityFrameworkCore;
internal sealed class TestUnitOfWork(DbContext context) : EfUnitOfWork<DbContext>(context);