Skip to content

Search EricksonLopez.* Ecosystem

Type a library name, NuGet package ID, .NET type, or architectural concept to search across the portal.

Troubleshooting — EricksonLopez.Transaction

Common compiler and runtime pitfalls when using EricksonLopez.Transaction (2.0.0).

  • Pitfall: Calling ctx.Connection.Close(), .Dispose(), or .BeginTransaction() manually inside a managed ITransactionContext corrupts transaction/savepoint state (flagged as error ELT001 by local ConnectionManipulationAnalyzer).
  • Fix: Execute all SQL through ctx.ExecuteAsync(...), ctx.QueryAsync<T>(...), or ctx.AsCommand(...) and let ITransactionManager own connection disposal and commit/rollback.
  • AddPostgreSqlTransaction not found: Import using Microsoft.Extensions.DependencyInjection; (ImplicitUsings=disable), as dialect DI extensions reside in Microsoft.Extensions.DependencyInjection.
  • NU1101 on Transaction.Mediator / .EntityFrameworkCore / .Resilience / .Analyzers: These four satellites exist only in local 3.1.0 HEAD (EntityFrameworkCore and Resilience target net10.0 only) and are not published on NuGet.