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

参数

返回

适用于