Partager via


RelationalOptionsExtension.ExecutionStrategyFactory Propriété

Définition

Fabrique pour créer la valeur par défaut IExecutionStrategyou null si aucun n’a été configuré.

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)

Valeur de propriété

S’applique à