Поделиться через


RelationalOptionsExtension.ExecutionStrategyFactory Свойство

Определение

Фабрика для создания по умолчанию IExecutionStrategyили null , если ни одна из них не была настроена.

public virtual Func<Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyContext,Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy> ExecutionStrategyFactory { get; set; }
public virtual Func<Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyDependencies,Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy> ExecutionStrategyFactory { get; }
public virtual Func<Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyDependencies,Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy>? ExecutionStrategyFactory { get; }
member this.ExecutionStrategyFactory : Func<Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyContext, Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy> with get, set
member this.ExecutionStrategyFactory : Func<Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyDependencies, Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy>
Public Overridable Property ExecutionStrategyFactory As Func(Of ExecutionStrategyContext, IExecutionStrategy)
Public Overridable ReadOnly Property ExecutionStrategyFactory As Func(Of ExecutionStrategyDependencies, IExecutionStrategy)

Значение свойства

Применяется к