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.

Namespace:   System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

public interface IDbExecutionStrategy

NameDescription
System_CAPS_pubpropertyRetriesOnFailure

Indicates whether this IDbExecutionStrategy might retry the execution after a failure.

NameDescription
System_CAPS_pubmethodExecute(Action)

Executes the specified operation.

System_CAPS_pubmethodExecute<TResult>(Func<TResult>)

Executes the specified operation and returns the result.

System_CAPS_pubmethodExecuteAsync(Func<Task>, CancellationToken)

Executes the specified asynchronous operation.

System_CAPS_pubmethodExecuteAsync<TResult>(Func<Task<TResult>>, CancellationToken)

Executes the specified asynchronous operation and returns the result.