NonRetryingExecutionStrategy 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
NonRetryingExecutionStrategy(DbContext) |
使用给定上下文构造新的 NonRetryingExecutionStrategy 。 |
NonRetryingExecutionStrategy(ExecutionStrategyDependencies) |
使用给定的服务依赖项构造新的 NonRetryingExecutionStrategy 。 |
NonRetryingExecutionStrategy(DbContext)
使用给定上下文构造新的 NonRetryingExecutionStrategy 。
public NonRetryingExecutionStrategy (Microsoft.EntityFrameworkCore.DbContext context);
new Microsoft.EntityFrameworkCore.Storage.NonRetryingExecutionStrategy : Microsoft.EntityFrameworkCore.DbContext -> Microsoft.EntityFrameworkCore.Storage.NonRetryingExecutionStrategy
Public Sub New (context As DbContext)
参数
- context
- DbContext
将对其调用操作的上下文。
适用于
NonRetryingExecutionStrategy(ExecutionStrategyDependencies)
使用给定的服务依赖项构造新的 NonRetryingExecutionStrategy 。
public NonRetryingExecutionStrategy (Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyDependencies dependencies);
new Microsoft.EntityFrameworkCore.Storage.NonRetryingExecutionStrategy : Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyDependencies -> Microsoft.EntityFrameworkCore.Storage.NonRetryingExecutionStrategy
Public Sub New (dependencies As ExecutionStrategyDependencies)
参数
- dependencies
- ExecutionStrategyDependencies
此执行策略的依赖项。