共用方式為


RelationalExecutionStrategyFactory.CreateDefaultStrategy 方法

定義

建立或傳回目前資料庫提供者之預設值 IExecutionStrategy 的快取實例。

protected virtual Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy CreateDefaultStrategy (Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyDependencies dependencies);
abstract member CreateDefaultStrategy : Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyDependencies -> Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy
override this.CreateDefaultStrategy : Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyDependencies -> Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy
Protected Overridable Function CreateDefaultStrategy (dependencies As ExecutionStrategyDependencies) As IExecutionStrategy

參數

傳回

適用於