Share via


EntityQueryModelVisitorDependencies.With Method

Definition

Overloads

With(IEntityMaterializerSource)

Clones this dependency parameter object with one service replaced.

With(IEntityQueryableExpressionVisitorFactory)

Clones this dependency parameter object with one service replaced.

With(IEagerLoadingExpressionVisitorFactory)

Clones this dependency parameter object with one service replaced.

With(IEntityResultFindingExpressionVisitorFactory)

Clones this dependency parameter object with one service replaced.

With(IMemberAccessBindingExpressionVisitorFactory)

Clones this dependency parameter object with one service replaced.

With(INavigationRewritingExpressionVisitorFactory)

Clones this dependency parameter object with one service replaced.

With(IQuerySourceTracingExpressionVisitorFactory)

Clones this dependency parameter object with one service replaced.

With(ITaskBlockingExpressionVisitor)

Clones this dependency parameter object with one service replaced.

With(IProjectionExpressionVisitorFactory)

Clones this dependency parameter object with one service replaced.

With(IExpressionPrinter)

Clones this dependency parameter object with one service replaced.

With(IQueryAnnotationExtractor)

Clones this dependency parameter object with one service replaced.

With(IQueryModelGenerator)

Clones this dependency parameter object with one service replaced.

With(IQueryOptimizer)

Clones this dependency parameter object with one service replaced.

With(IResultOperatorHandler)

Clones this dependency parameter object with one service replaced.

With(IEntityMaterializerSource)

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitorDependencies With (Microsoft.EntityFrameworkCore.Metadata.Internal.IEntityMaterializerSource entityMaterializerSource);
member this.With : Microsoft.EntityFrameworkCore.Metadata.Internal.IEntityMaterializerSource -> Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitorDependencies
Public Function With (entityMaterializerSource As IEntityMaterializerSource) As EntityQueryModelVisitorDependencies

Parameters

entityMaterializerSource
Microsoft.EntityFrameworkCore.Metadata.Internal.IEntityMaterializerSource

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to

With(IEntityQueryableExpressionVisitorFactory)

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitorDependencies With (Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.IEntityQueryableExpressionVisitorFactory entityQueryableExpressionVisitorFactory);
member this.With : Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.IEntityQueryableExpressionVisitorFactory -> Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitorDependencies
Public Function With (entityQueryableExpressionVisitorFactory As IEntityQueryableExpressionVisitorFactory) As EntityQueryModelVisitorDependencies

Parameters

entityQueryableExpressionVisitorFactory
IEntityQueryableExpressionVisitorFactory

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to

With(IEagerLoadingExpressionVisitorFactory)

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitorDependencies With (Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IEagerLoadingExpressionVisitorFactory eagerLoadingExpressionVisitorFactory);
member this.With : Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IEagerLoadingExpressionVisitorFactory -> Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitorDependencies
Public Function With (eagerLoadingExpressionVisitorFactory As IEagerLoadingExpressionVisitorFactory) As EntityQueryModelVisitorDependencies

Parameters

eagerLoadingExpressionVisitorFactory
Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IEagerLoadingExpressionVisitorFactory

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to

With(IEntityResultFindingExpressionVisitorFactory)

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitorDependencies With (Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IEntityResultFindingExpressionVisitorFactory entityResultFindingExpressionVisitorFactory);
member this.With : Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IEntityResultFindingExpressionVisitorFactory -> Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitorDependencies
Public Function With (entityResultFindingExpressionVisitorFactory As IEntityResultFindingExpressionVisitorFactory) As EntityQueryModelVisitorDependencies

Parameters

entityResultFindingExpressionVisitorFactory
Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IEntityResultFindingExpressionVisitorFactory

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to

With(IMemberAccessBindingExpressionVisitorFactory)

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitorDependencies With (Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IMemberAccessBindingExpressionVisitorFactory memberAccessBindingExpressionVisitorFactory);
member this.With : Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IMemberAccessBindingExpressionVisitorFactory -> Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitorDependencies
Public Function With (memberAccessBindingExpressionVisitorFactory As IMemberAccessBindingExpressionVisitorFactory) As EntityQueryModelVisitorDependencies

Parameters

memberAccessBindingExpressionVisitorFactory
Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IMemberAccessBindingExpressionVisitorFactory

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to

With(INavigationRewritingExpressionVisitorFactory)

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitorDependencies With (Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.INavigationRewritingExpressionVisitorFactory navigationRewritingExpressionVisitorFactory);
member this.With : Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.INavigationRewritingExpressionVisitorFactory -> Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitorDependencies
Public Function With (navigationRewritingExpressionVisitorFactory As INavigationRewritingExpressionVisitorFactory) As EntityQueryModelVisitorDependencies

Parameters

navigationRewritingExpressionVisitorFactory
Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.INavigationRewritingExpressionVisitorFactory

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to

With(IQuerySourceTracingExpressionVisitorFactory)

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitorDependencies With (Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IQuerySourceTracingExpressionVisitorFactory querySourceTracingExpressionVisitorFactory);
member this.With : Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IQuerySourceTracingExpressionVisitorFactory -> Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitorDependencies
Public Function With (querySourceTracingExpressionVisitorFactory As IQuerySourceTracingExpressionVisitorFactory) As EntityQueryModelVisitorDependencies

Parameters

querySourceTracingExpressionVisitorFactory
Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IQuerySourceTracingExpressionVisitorFactory

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to

With(ITaskBlockingExpressionVisitor)

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitorDependencies With (Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.ITaskBlockingExpressionVisitor taskBlockingExpressionVisitor);
member this.With : Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.ITaskBlockingExpressionVisitor -> Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitorDependencies
Public Function With (taskBlockingExpressionVisitor As ITaskBlockingExpressionVisitor) As EntityQueryModelVisitorDependencies

Parameters

taskBlockingExpressionVisitor
Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.ITaskBlockingExpressionVisitor

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to

With(IProjectionExpressionVisitorFactory)

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitorDependencies With (Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.IProjectionExpressionVisitorFactory projectionExpressionVisitorFactory);
member this.With : Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.IProjectionExpressionVisitorFactory -> Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitorDependencies
Public Function With (projectionExpressionVisitorFactory As IProjectionExpressionVisitorFactory) As EntityQueryModelVisitorDependencies

Parameters

projectionExpressionVisitorFactory
IProjectionExpressionVisitorFactory

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to

With(IExpressionPrinter)

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitorDependencies With (Microsoft.EntityFrameworkCore.Query.Internal.IExpressionPrinter expressionPrinter);
member this.With : Microsoft.EntityFrameworkCore.Query.Internal.IExpressionPrinter -> Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitorDependencies
Public Function With (expressionPrinter As IExpressionPrinter) As EntityQueryModelVisitorDependencies

Parameters

expressionPrinter
Microsoft.EntityFrameworkCore.Query.Internal.IExpressionPrinter

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to

With(IQueryAnnotationExtractor)

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitorDependencies With (Microsoft.EntityFrameworkCore.Query.Internal.IQueryAnnotationExtractor queryAnnotationExtractor);
member this.With : Microsoft.EntityFrameworkCore.Query.Internal.IQueryAnnotationExtractor -> Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitorDependencies
Public Function With (queryAnnotationExtractor As IQueryAnnotationExtractor) As EntityQueryModelVisitorDependencies

Parameters

queryAnnotationExtractor
Microsoft.EntityFrameworkCore.Query.Internal.IQueryAnnotationExtractor

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to

With(IQueryModelGenerator)

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitorDependencies With (Microsoft.EntityFrameworkCore.Query.Internal.IQueryModelGenerator queryModelGenerator);
member this.With : Microsoft.EntityFrameworkCore.Query.Internal.IQueryModelGenerator -> Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitorDependencies
Public Function With (queryModelGenerator As IQueryModelGenerator) As EntityQueryModelVisitorDependencies

Parameters

queryModelGenerator
Microsoft.EntityFrameworkCore.Query.Internal.IQueryModelGenerator

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to

With(IQueryOptimizer)

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitorDependencies With (Microsoft.EntityFrameworkCore.Query.Internal.IQueryOptimizer queryOptimizer);
member this.With : Microsoft.EntityFrameworkCore.Query.Internal.IQueryOptimizer -> Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitorDependencies
Public Function With (queryOptimizer As IQueryOptimizer) As EntityQueryModelVisitorDependencies

Parameters

queryOptimizer
Microsoft.EntityFrameworkCore.Query.Internal.IQueryOptimizer

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to

With(IResultOperatorHandler)

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitorDependencies With (Microsoft.EntityFrameworkCore.Query.IResultOperatorHandler resultOperatorHandler);
member this.With : Microsoft.EntityFrameworkCore.Query.IResultOperatorHandler -> Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitorDependencies
Public Function With (resultOperatorHandler As IResultOperatorHandler) As EntityQueryModelVisitorDependencies

Parameters

resultOperatorHandler
IResultOperatorHandler

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to