RelationalDbContextOptionsBuilder<TBuilder,TExtension>.ExecutionStrategy Yöntem

Tanım

Aşırı Yüklemeler

ExecutionStrategy(Func<ExecutionStrategyContext,IExecutionStrategy>)

Bağlamı sağlanan öğesini kullanacak şekilde yapılandırılır IExecutionStrategy.

ExecutionStrategy(Func<ExecutionStrategyDependencies,IExecutionStrategy>)

Bağlamı sağlanan öğesini kullanacak şekilde yapılandırılır IExecutionStrategy.

ExecutionStrategy(Func<ExecutionStrategyContext,IExecutionStrategy>)

Bağlamı sağlanan öğesini kullanacak şekilde yapılandırılır 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

Parametreler

getExecutionStrategy
Func<ExecutionStrategyContext,IExecutionStrategy>

Yürütme stratejisinin yeni bir örneğini döndüren işlev.

Döndürülenler

TBuilder

Şunlara uygulanır

ExecutionStrategy(Func<ExecutionStrategyDependencies,IExecutionStrategy>)

Bağlamı sağlanan öğesini kullanacak şekilde yapılandırılır 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

Parametreler

getExecutionStrategy
Func<ExecutionStrategyDependencies,IExecutionStrategy>

Yürütme stratejisinin yeni bir örneğini döndüren işlev.

Döndürülenler

TBuilder

Açıklamalar

Daha fazla bilgi ve örnek için bkz. Bağlantı dayanıklılığı ve veritabanı yeniden denemeleri .

Şunlara uygulanır