다음을 통해 공유


RelationalDbContextOptionsBuilder<TBuilder,TExtension>.ExecutionStrategy 메서드

정의

오버로드

ExecutionStrategy(Func<ExecutionStrategyContext,IExecutionStrategy>)

제공된 를 사용하도록 컨텍스트를 IExecutionStrategy구성합니다.

ExecutionStrategy(Func<ExecutionStrategyDependencies,IExecutionStrategy>)

제공된 를 사용하도록 컨텍스트를 IExecutionStrategy구성합니다.

ExecutionStrategy(Func<ExecutionStrategyContext,IExecutionStrategy>)

제공된 를 사용하도록 컨텍스트를 IExecutionStrategy구성합니다.

public virtual TBuilder ExecutionStrategy (Func<Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyContext,Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy> getExecutionStrategy);
abstract member ExecutionStrategy : Func<Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyContext, Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy> -> 'Builder
override this.ExecutionStrategy : Func<Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyContext, Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy> -> 'Builder
Public Overridable Function ExecutionStrategy (getExecutionStrategy As Func(Of ExecutionStrategyContext, IExecutionStrategy)) As TBuilder

매개 변수

getExecutionStrategy
Func<ExecutionStrategyContext,IExecutionStrategy>

실행 전략의 새 instance 반환하는 함수입니다.

반환

TBuilder

적용 대상

ExecutionStrategy(Func<ExecutionStrategyDependencies,IExecutionStrategy>)

Source:
RelationalDbContextOptionsBuilder.cs
Source:
RelationalDbContextOptionsBuilder.cs
Source:
RelationalDbContextOptionsBuilder.cs
Source:
RelationalDbContextOptionsBuilder.cs
Source:
RelationalDbContextOptionsBuilder.cs
Source:
RelationalDbContextOptionsBuilder.cs
Source:
RelationalDbContextOptionsBuilder.cs
Source:
RelationalDbContextOptionsBuilder.cs
Source:
RelationalDbContextOptionsBuilder.cs

제공된 를 사용하도록 컨텍스트를 IExecutionStrategy구성합니다.

public virtual TBuilder ExecutionStrategy (Func<Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyDependencies,Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy> getExecutionStrategy);
abstract member ExecutionStrategy : Func<Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyDependencies, Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy> -> 'Builder
override this.ExecutionStrategy : Func<Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyDependencies, Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy> -> 'Builder
Public Overridable Function ExecutionStrategy (getExecutionStrategy As Func(Of ExecutionStrategyDependencies, IExecutionStrategy)) As TBuilder

매개 변수

getExecutionStrategy
Func<ExecutionStrategyDependencies,IExecutionStrategy>

실행 전략의 새 instance 반환하는 함수입니다.

반환

TBuilder

설명

자세한 내용 과 예제는 연결 복원력 및 데이터베이스 재시도 를 참조하세요.

적용 대상