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