Click or drag to resize
DbExecAsyncT Method
An asynchronous version of Exec.

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

Parameters

action
Type: SystemFuncDbConnection, TaskT
Callback method to execute.

Type Parameters

T
Type of the execution result.

Return Value

Type: TaskT
A task representing the asynchronous operation.
See Also