DatabaseFacade.CreateExecutionStrategy 方法

定义

创建配置的 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

返回

一个 IExecutionStrategy 实例。

注解

有关详细信息 和示例,请参阅连接复原和数据库重试

适用于