IDbExecutionStrategy Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A strategy that is used to execute a command or query against the database, possibly with logic to retry when a failure occurs.
public interface IDbExecutionStrategy
type IDbExecutionStrategy = interface
Public Interface IDbExecutionStrategy
- Derived
Properties
RetriesOnFailure |
Indicates whether this IDbExecutionStrategy might retry the execution after a failure. |
Methods
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. |
Applies to
Entity Framework