RelationalOptionsExtension.ExecutionStrategyFactory 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
用於建立預設 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)