IDbExecutionStrategy Interface
A strategy that is used to execute a command or query against the database, possibly with logic to retry when a failure occurs.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | RetriesOnFailure | Indicates whether this IDbExecutionStrategy might retry the execution after a failure. |
Name | Description | |
---|---|---|
![]() | Execute(Action) | Executes the specified operation. |
![]() | Execute<TResult>(Func<TResult>) | Executes the specified operation and returns the result. |
![]() | ExecuteAsync(Func<Task>, CancellationToken) | Executes the specified asynchronous operation. |
![]() | ExecuteAsync<TResult>(Func<Task<TResult>>, CancellationToken) | Executes the specified asynchronous operation and returns the result. |