Click or drag to resize
SqlExecutionHelper Methods

The SqlExecutionHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberExecuteWithDeadlockRetryTResult

Executes the given executionFunc while catching exception resulting from the execution. If the exception thrown contains SqlException as its inner exception and the Number equals to 1205 (deadlock), the execution is retried.

The execution is never retried if IsInTransaction indicates the execution is part of a transaction.

If the retry limit is reached, the exception resulting from the last execution is re-thrown.

Protected methodExecuteWithDeadlockRetryInternalTResult

Executes the given executionFunc while catching exception resulting from the execution. If the exception thrown contains SqlException as its inner exception and the Number equals to 1205 (deadlock), the execution is retried.

The execution is never retried if IsInTransaction indicates the execution is part of a transaction.

If the retry limit is reached, the exception resulting from the last execution is re-thrown.

Public methodSetAsDefaultHelper
Sets this object as the default helper
(Inherited from AbstractHelperHelperType.)
Top
See Also