Interface IAsyncDatabaseHandler
This class supports the EPiServer infrastructure and is not intended to be used directly from your code.
Assembly: EPiServer.Data.dll
Version: 8.11.0
Syntax
public interface IAsyncDatabaseHandler : IDatabaseHandler
Methods
ExecuteAsync(Func<Task>)
Declaration
Task ExecuteAsync(Func<Task> action)
Parameters
Type |
Name |
Description |
System.Func<System.Threading.Tasks.Task> |
action |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
ExecuteAsync<TResult>(Func<Task<TResult>>)
This class supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
Task<TResult> ExecuteAsync<TResult>(Func<Task<TResult>> action)
Parameters
Type |
Name |
Description |
System.Func<System.Threading.Tasks.Task<TResult>> |
action |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult> |
|
Type Parameters
ExecuteTransactionAsync(Func<Task>)
Declaration
Task ExecuteTransactionAsync(Func<Task> action)
Parameters
Type |
Name |
Description |
System.Func<System.Threading.Tasks.Task> |
action |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
ExecuteTransactionAsync<TResult>(Func<Task<TResult>>)
This class supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
Task<TResult> ExecuteTransactionAsync<TResult>(Func<Task<TResult>> action)
Parameters
Type |
Name |
Description |
System.Func<System.Threading.Tasks.Task<TResult>> |
action |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult> |
|
Type Parameters
GetAsyncConnection(Boolean)
This class supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
Task<IAsyncConnectionScope> GetAsyncConnection(bool requireTransaction)
Parameters
Type |
Name |
Description |
System.Boolean |
requireTransaction |
|
Returns
Extension Methods