Share via


QuerySqlGeneratorDependencies.With Method

Definition

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