Share via


RelationalParameterBasedSqlProcessorDependencies.With Method

Definition

Overloads

With(ISqlExpressionFactory)

Clones this dependency parameter object with one service replaced.

With(IParameterNameGeneratorFactory)

Clones this dependency parameter object with one service replaced.

With(IRelationalTypeMappingSource)

Clones this dependency parameter object with one service replaced.

With(ISqlExpressionFactory)

Source:
RelationalParameterBasedSqlProcessorDependencies.cs

Clones this dependency parameter object with one service replaced.

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

Parameters

sqlExpressionFactory
ISqlExpressionFactory

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to

With(IParameterNameGeneratorFactory)

Source:
RelationalParameterBasedSqlProcessorDependencies.cs

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Query.RelationalParameterBasedSqlProcessorDependencies With (Microsoft.EntityFrameworkCore.Storage.IParameterNameGeneratorFactory parameterNameGeneratorFactory);
member this.With : Microsoft.EntityFrameworkCore.Storage.IParameterNameGeneratorFactory -> Microsoft.EntityFrameworkCore.Query.RelationalParameterBasedSqlProcessorDependencies
Public Function With (parameterNameGeneratorFactory As IParameterNameGeneratorFactory) As RelationalParameterBasedSqlProcessorDependencies

Parameters

parameterNameGeneratorFactory
IParameterNameGeneratorFactory

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to

With(IRelationalTypeMappingSource)

Source:
RelationalParameterBasedSqlProcessorDependencies.cs

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Query.RelationalParameterBasedSqlProcessorDependencies With (Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource);
member this.With : Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource -> Microsoft.EntityFrameworkCore.Query.RelationalParameterBasedSqlProcessorDependencies
Public Function With (typeMappingSource As IRelationalTypeMappingSource) As RelationalParameterBasedSqlProcessorDependencies

Parameters

typeMappingSource
IRelationalTypeMappingSource

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to