共用方式為


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 執行個體。

備註

如需詳細資訊 和範例,請參閱連線復原和資料庫重試

適用於