QuerySqlGeneratorDependencies.With Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
With(IRelationalCommandBuilderFactory) |
Clones this dependency parameter object with one service replaced. |
With(ISqlGenerationHelper) |
Clones this dependency parameter object with one service replaced. |
With(IRelationalCommandBuilderFactory)
Clones this dependency parameter object with one service replaced.
public Microsoft.EntityFrameworkCore.Query.QuerySqlGeneratorDependencies With (Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory relationalCommandBuilderFactory);
member this.With : Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory -> Microsoft.EntityFrameworkCore.Query.QuerySqlGeneratorDependencies
Public Function With (relationalCommandBuilderFactory As IRelationalCommandBuilderFactory) As QuerySqlGeneratorDependencies
Parameters
- relationalCommandBuilderFactory
- IRelationalCommandBuilderFactory
A replacement for the current dependency of this type.
Returns
A new parameter object with the given service replaced.
Applies to
With(ISqlGenerationHelper)
Clones this dependency parameter object with one service replaced.
public Microsoft.EntityFrameworkCore.Query.QuerySqlGeneratorDependencies With (Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper sqlGenerationHelper);
member this.With : Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper -> Microsoft.EntityFrameworkCore.Query.QuerySqlGeneratorDependencies
Public Function With (sqlGenerationHelper As ISqlGenerationHelper) As QuerySqlGeneratorDependencies
Parameters
- sqlGenerationHelper
- ISqlGenerationHelper
A replacement for the current dependency of this type.
Returns
A new parameter object with the given service replaced.
Applies to
Entity Framework