RelationalExecutionStrategyFactory.CreateDefaultStrategy 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为当前数据库提供程序创建或返回默认值 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
参数
- dependencies
- ExecutionStrategyDependencies