RelationalQueryModelVisitorDependencies.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(IDbContextOptions) |
Clones this dependency parameter object with one service replaced. |
With(ICompositePredicateExpressionVisitorFactory) |
Clones this dependency parameter object with one service replaced. |
With(IConditionalRemovingExpressionVisitorFactory) |
Clones this dependency parameter object with one service replaced. |
With(ISqlTranslatingExpressionVisitorFactory) |
Clones this dependency parameter object with one service replaced. |
With(IRelationalResultOperatorHandler) |
Clones this dependency parameter object with one service replaced. |
With(IDbContextOptions)
Clones this dependency parameter object with one service replaced.
public Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitorDependencies With (Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions contextOptions);
member this.With : Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions -> Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitorDependencies
Public Function With (contextOptions As IDbContextOptions) As RelationalQueryModelVisitorDependencies
Parameters
- contextOptions
- IDbContextOptions
A replacement for the current dependency of this type.
Returns
A new parameter object with the given service replaced.
Applies to
With(ICompositePredicateExpressionVisitorFactory)
Clones this dependency parameter object with one service replaced.
public Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitorDependencies With (Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.ICompositePredicateExpressionVisitorFactory compositePredicateExpressionVisitorFactory);
member this.With : Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.ICompositePredicateExpressionVisitorFactory -> Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitorDependencies
Public Function With (compositePredicateExpressionVisitorFactory As ICompositePredicateExpressionVisitorFactory) As RelationalQueryModelVisitorDependencies
Parameters
- compositePredicateExpressionVisitorFactory
- Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.ICompositePredicateExpressionVisitorFactory
A replacement for the current dependency of this type.
Returns
A new parameter object with the given service replaced.
Applies to
With(IConditionalRemovingExpressionVisitorFactory)
Clones this dependency parameter object with one service replaced.
public Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitorDependencies With (Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IConditionalRemovingExpressionVisitorFactory conditionalRemovingExpressionVisitorFactory);
member this.With : Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IConditionalRemovingExpressionVisitorFactory -> Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitorDependencies
Public Function With (conditionalRemovingExpressionVisitorFactory As IConditionalRemovingExpressionVisitorFactory) As RelationalQueryModelVisitorDependencies
Parameters
- conditionalRemovingExpressionVisitorFactory
- Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IConditionalRemovingExpressionVisitorFactory
A replacement for the current dependency of this type.
Returns
A new parameter object with the given service replaced.
Applies to
With(ISqlTranslatingExpressionVisitorFactory)
Clones this dependency parameter object with one service replaced.
public Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitorDependencies With (Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.ISqlTranslatingExpressionVisitorFactory sqlTranslatingExpressionVisitorFactory);
member this.With : Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.ISqlTranslatingExpressionVisitorFactory -> Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitorDependencies
Public Function With (sqlTranslatingExpressionVisitorFactory As ISqlTranslatingExpressionVisitorFactory) As RelationalQueryModelVisitorDependencies
Parameters
- sqlTranslatingExpressionVisitorFactory
- ISqlTranslatingExpressionVisitorFactory
A replacement for the current dependency of this type.
Returns
A new parameter object with the given service replaced.
Applies to
With(IRelationalResultOperatorHandler)
Clones this dependency parameter object with one service replaced.
public Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitorDependencies With (Microsoft.EntityFrameworkCore.Query.IRelationalResultOperatorHandler relationalResultOperatorHandler);
member this.With : Microsoft.EntityFrameworkCore.Query.IRelationalResultOperatorHandler -> Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitorDependencies
Public Function With (relationalResultOperatorHandler As IRelationalResultOperatorHandler) As RelationalQueryModelVisitorDependencies
Parameters
- relationalResultOperatorHandler
- IRelationalResultOperatorHandler
A replacement for the current dependency of this type.
Returns
A new parameter object with the given service replaced.
Applies to
Entity Framework