Property IsInTransaction
Whether any transaction is active — explicit (CurrentTransaction) or ambient (TransactionScope).
EF Core pattern: checks both CurrentTransaction and Transaction.Current.
bool IsInTransaction { get; }
Whether any transaction is active — explicit (CurrentTransaction) or ambient (TransactionScope).
EF Core pattern: checks both CurrentTransaction and Transaction.Current.
bool IsInTransaction { get; }