RelationalMethodCallTranslatorProviderDependencies.With Method

Definition

Overloads

With(ISqlExpressionFactory)

Clones this dependency parameter object with one service replaced.

With(IRelationalTypeMappingSource)

Clones this dependency parameter object with one service replaced.

With(IEnumerable<IMethodCallTranslatorPlugin>)

Clones this dependency parameter object with one service replaced.

With(ISqlExpressionFactory)

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Query.RelationalMethodCallTranslatorProviderDependencies With (Microsoft.EntityFrameworkCore.Query.ISqlExpressionFactory sqlExpressionFactory);
member this.With : Microsoft.EntityFrameworkCore.Query.ISqlExpressionFactory -> Microsoft.EntityFrameworkCore.Query.RelationalMethodCallTranslatorProviderDependencies
Public Function With (sqlExpressionFactory As ISqlExpressionFactory) As RelationalMethodCallTranslatorProviderDependencies

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(IRelationalTypeMappingSource)

Clones this dependency parameter object with one service replaced.

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

Parameters

typeMappingSource
IRelationalTypeMappingSource

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to

With(IEnumerable<IMethodCallTranslatorPlugin>)

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Query.RelationalMethodCallTranslatorProviderDependencies With (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.IMethodCallTranslatorPlugin> plugins);
member this.With : seq<Microsoft.EntityFrameworkCore.Query.IMethodCallTranslatorPlugin> -> Microsoft.EntityFrameworkCore.Query.RelationalMethodCallTranslatorProviderDependencies
Public Function With (plugins As IEnumerable(Of IMethodCallTranslatorPlugin)) As RelationalMethodCallTranslatorProviderDependencies

Parameters

plugins
IEnumerable<IMethodCallTranslatorPlugin>

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to