[This is preliminary documentation and is subject to change.]

Gets or sets the value determining if when there is a database error the UIController will try to recover

Namespace:  Firefly.Box
Assembly:  Firefly.Box (in Firefly.Box.dll) Version: (


public bool OnDatabaseErrorRetry { get; set; }
Visual Basic (Declaration)
Public Property OnDatabaseErrorRetry As Boolean
Visual C++
property bool OnDatabaseErrorRetry {
	bool get ();
	void set (bool value);


This property applies to database errors for which the HandlingStrategy property was set to RollbackAndRecover.
The UIController can only recover from transactions that were started by it.
If the transaction was started by a calling task, the UIController will terminate and disregard the OnDatabaseErrorRetry property.
If the TransactionScope property is Task the UIController will try to recover by restarting the task from scratch.
Otherwise it'll undo all the changes in the current row, and try to reenter that row.

See Also