DatabaseFacade.CreateExecutionStrategy Method

Definition

Creates an instance of the configured IExecutionStrategy.

public virtual Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy CreateExecutionStrategy ();
abstract member CreateExecutionStrategy : unit -> Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy
override this.CreateExecutionStrategy : unit -> Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy
Public Overridable Function CreateExecutionStrategy () As IExecutionStrategy

Returns

An IExecutionStrategy instance.

Remarks

See Connection resiliency and database retries for more information and examples.

Applies to