Property IsInTransaction

Assembly: redb.MSSql.dll

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

public bool IsInTransaction { get; }