NonRetryingExecutionStrategy 构造函数

定义

重载

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

此执行策略的依赖项。

适用于