Dela via


RelationalSqlTranslatingExpressionVisitorDependencies.With Method

Definition

Overloads

With(IMemberTranslatorProvider)

Clones this dependency parameter object with one service replaced.

With(IMethodCallTranslatorProvider)

Clones this dependency parameter object with one service replaced.

With(ISqlExpressionFactory)

Clones this dependency parameter object with one service replaced.

With(IRelationalTypeMappingSource)

Clones this dependency parameter object with one service replaced.

With(IMemberTranslatorProvider)

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Query.RelationalSqlTranslatingExpressionVisitorDependencies With (Microsoft.EntityFrameworkCore.Query.IMemberTranslatorProvider memberTranslatorProvider);
member this.With : Microsoft.EntityFrameworkCore.Query.IMemberTranslatorProvider -> Microsoft.EntityFrameworkCore.Query.RelationalSqlTranslatingExpressionVisitorDependencies
Public Function With (memberTranslatorProvider As IMemberTranslatorProvider) As RelationalSqlTranslatingExpressionVisitorDependencies

Parameters

memberTranslatorProvider
IMemberTranslatorProvider

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to

With(IMethodCallTranslatorProvider)

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Query.RelationalSqlTranslatingExpressionVisitorDependencies With (Microsoft.EntityFrameworkCore.Query.IMethodCallTranslatorProvider methodCallTranslatorProvider);
member this.With : Microsoft.EntityFrameworkCore.Query.IMethodCallTranslatorProvider -> Microsoft.EntityFrameworkCore.Query.RelationalSqlTranslatingExpressionVisitorDependencies
Public Function With (methodCallTranslatorProvider As IMethodCallTranslatorProvider) As RelationalSqlTranslatingExpressionVisitorDependencies

Parameters

methodCallTranslatorProvider
IMethodCallTranslatorProvider

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to

With(ISqlExpressionFactory)

Clones this dependency parameter object with one service replaced.

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

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.RelationalSqlTranslatingExpressionVisitorDependencies With (Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource);
member this.With : Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource -> Microsoft.EntityFrameworkCore.Query.RelationalSqlTranslatingExpressionVisitorDependencies
Public Function With (typeMappingSource As IRelationalTypeMappingSource) As RelationalSqlTranslatingExpressionVisitorDependencies

Parameters

typeMappingSource
IRelationalTypeMappingSource

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to