Click or drag to resize
DbExecT Method
Executes any action method in database transaction.

Namespace: LiteRepository
Assembly: LiteRepository (in LiteRepository.dll) Version: 2.0.4
Syntax
C#
public virtual T Exec<T>(
	Func<DbConnection, T> action
)

Parameters

action
Type: SystemFuncDbConnection, T
Callback method to execute.

Type Parameters

T
Type of the execution result.

Return Value

Type: T
Result of the action execute.
See Also