共用方式為


RelationalQueryTranslationPostprocessorDependencies.With 方法

定義

複製此相依性參數物件,並取代一個服務。

public Microsoft.EntityFrameworkCore.Query.RelationalQueryTranslationPostprocessorDependencies With (Microsoft.EntityFrameworkCore.Query.ISqlExpressionFactory sqlExpressionFactory);
member this.With : Microsoft.EntityFrameworkCore.Query.ISqlExpressionFactory -> Microsoft.EntityFrameworkCore.Query.RelationalQueryTranslationPostprocessorDependencies
Public Function With (sqlExpressionFactory As ISqlExpressionFactory) As RelationalQueryTranslationPostprocessorDependencies

參數

sqlExpressionFactory
ISqlExpressionFactory

取代此類型的目前相依性。

傳回

取代指定服務的新參數物件。

適用於