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.0.0 (11.1)
Syntax
public virtual SessionBaseTransaction BeginRead(
	bool doRecoveryCheck = false
)

Parameters

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