RelationalShapedQueryCompilingExpressionVisitorDependencies.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(ICoreSingletonOptions) |
Clones this dependency parameter object with one service replaced. |
With(IQuerySqlGeneratorFactory) |
Clones this dependency parameter object with one service replaced. |
With(IRelationalParameterBasedSqlProcessorFactory) |
Clones this dependency parameter object with one service replaced. |
With(ISqlExpressionFactory) |
Clones this dependency parameter object with one service replaced. |
With(IParameterNameGeneratorFactory) |
Clones this dependency parameter object with one service replaced. |
With(ICoreSingletonOptions)
Clones this dependency parameter object with one service replaced.
public Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitorDependencies With (Microsoft.EntityFrameworkCore.Infrastructure.ICoreSingletonOptions coreSingletonOptions);
member this.With : Microsoft.EntityFrameworkCore.Infrastructure.ICoreSingletonOptions -> Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitorDependencies
Public Function With (coreSingletonOptions As ICoreSingletonOptions) As RelationalShapedQueryCompilingExpressionVisitorDependencies
Parameters
- coreSingletonOptions
- ICoreSingletonOptions
A replacement for the current dependency of this type.
Returns
A new parameter object with the given service replaced.
Applies to
With(IQuerySqlGeneratorFactory)
Clones this dependency parameter object with one service replaced.
public Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitorDependencies With (Microsoft.EntityFrameworkCore.Query.IQuerySqlGeneratorFactory querySqlGeneratorFactory);
member this.With : Microsoft.EntityFrameworkCore.Query.IQuerySqlGeneratorFactory -> Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitorDependencies
Public Function With (querySqlGeneratorFactory As IQuerySqlGeneratorFactory) As RelationalShapedQueryCompilingExpressionVisitorDependencies
Parameters
- querySqlGeneratorFactory
- IQuerySqlGeneratorFactory
A replacement for the current dependency of this type.
Returns
A new parameter object with the given service replaced.
Applies to
With(IRelationalParameterBasedSqlProcessorFactory)
Clones this dependency parameter object with one service replaced.
public Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitorDependencies With (Microsoft.EntityFrameworkCore.Query.IRelationalParameterBasedSqlProcessorFactory relationalParameterBasedSqlProcessorFactory);
member this.With : Microsoft.EntityFrameworkCore.Query.IRelationalParameterBasedSqlProcessorFactory -> Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitorDependencies
Public Function With (relationalParameterBasedSqlProcessorFactory As IRelationalParameterBasedSqlProcessorFactory) As RelationalShapedQueryCompilingExpressionVisitorDependencies
Parameters
- relationalParameterBasedSqlProcessorFactory
- IRelationalParameterBasedSqlProcessorFactory
A replacement for the current dependency of this type.
Returns
A new parameter object with the given service replaced.
Applies to
With(ISqlExpressionFactory)
Clones this dependency parameter object with one service replaced.
public Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitorDependencies With (Microsoft.EntityFrameworkCore.Query.ISqlExpressionFactory sqlExpressionFactory);
member this.With : Microsoft.EntityFrameworkCore.Query.ISqlExpressionFactory -> Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitorDependencies
Public Function With (sqlExpressionFactory As ISqlExpressionFactory) As RelationalShapedQueryCompilingExpressionVisitorDependencies
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)
Clones this dependency parameter object with one service replaced.
public Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitorDependencies With (Microsoft.EntityFrameworkCore.Storage.IParameterNameGeneratorFactory parameterNameGeneratorFactory);
member this.With : Microsoft.EntityFrameworkCore.Storage.IParameterNameGeneratorFactory -> Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitorDependencies
Public Function With (parameterNameGeneratorFactory As IParameterNameGeneratorFactory) As RelationalShapedQueryCompilingExpressionVisitorDependencies
Parameters
- parameterNameGeneratorFactory
- IParameterNameGeneratorFactory
A replacement for the current dependency of this type.
Returns
A new parameter object with the given service replaced.
Applies to
Entity Framework