Share via


RelationalQueryCompilationContextDependencies.With Method

Definition

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Query.RelationalQueryCompilationContextDependencies With (Microsoft.EntityFrameworkCore.Query.Internal.INodeTypeProviderFactory nodeTypeProviderFactory);
member this.With : Microsoft.EntityFrameworkCore.Query.Internal.INodeTypeProviderFactory -> Microsoft.EntityFrameworkCore.Query.RelationalQueryCompilationContextDependencies
Public Function With (nodeTypeProviderFactory As INodeTypeProviderFactory) As RelationalQueryCompilationContextDependencies

Parameters

nodeTypeProviderFactory
Microsoft.EntityFrameworkCore.Query.Internal.INodeTypeProviderFactory

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to