SqlExecutionHelper Class |
Namespace: CMS.DataEngine
public class SqlExecutionHelper : AbstractHelper<SqlExecutionHelper>
The SqlExecutionHelper type exposes the following members.
Name | Description | |
---|---|---|
SqlExecutionHelper |
Name | Description | |
---|---|---|
ExecuteWithDeadlockRetryTResult | 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. | |
ExecuteWithDeadlockRetryInternalTResult | 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. | |
SetAsDefaultHelper |
Sets this object as the default helper
(Inherited from AbstractHelperHelperType.) |