Share via


SqlExpressionFactoryDependencies.With(IRelationalTypeMappingSource) Method

Definition

Clones this dependency parameter object with one service replaced.

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

Parameters

typeMappingSource
IRelationalTypeMappingSource

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to