Property IsInTransaction

Assembly: redb.Postgres.dll

Whether any transaction is active — explicit or ambient TransactionScope.
EF Core pattern: checks both CurrentTransaction and Transaction.Current.

public bool IsInTransaction { get; }