shouldFailTransaction property
If true, operations within a transaction will throw an exception to simulate database failures and test rollback logic.
Implementation
bool shouldFailTransaction = false;
If true, operations within a transaction will throw an exception to simulate database failures and test rollback logic.
bool shouldFailTransaction = false;