shouldFailTransaction property

bool shouldFailTransaction
getter/setter pair

If true, operations within a transaction will throw an exception to simulate database failures and test rollback logic.

Implementation

bool shouldFailTransaction = false;