Click or drag to resize

SessionBaseBeginRead Method

Transaction control, begin a read only transaction

Namespace:  VelocityDb.Session
Assembly:  VelocityDb (in VelocityDb.dll) Version: (11.1)
public virtual SessionBaseTransaction BeginRead(
	bool doRecoveryCheck = false


doRecoveryCheck (Optional)
Type: SystemBoolean
By default we do not check for a failed update transaction that requires reverting one or more database changes. We don't do it by default because it can be a little costly. Change this parameter to true if you prefer ensured consistency over better performance or make change only if you encounter an exception in the transaction.

Return Value

Type: SessionBaseTransaction
A transaction helper object.
See Also