Share via


RelationalQueryableMethodTranslatingExpressionVisitorDependencies.With Method

Definition

Overloads

With(IRelationalSqlTranslatingExpressionVisitorFactory)

Clones this dependency parameter object with one service replaced.

With(ISqlExpressionFactory)

Clones this dependency parameter object with one service replaced.

With(IRelationalSqlTranslatingExpressionVisitorFactory)

Source:
RelationalQueryableMethodTranslatingExpressionVisitorDependencies.cs
Source:
RelationalQueryableMethodTranslatingExpressionVisitorDependencies.cs
Source:
RelationalQueryableMethodTranslatingExpressionVisitorDependencies.cs

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Query.RelationalQueryableMethodTranslatingExpressionVisitorDependencies With (Microsoft.EntityFrameworkCore.Query.IRelationalSqlTranslatingExpressionVisitorFactory relationalSqlTranslatingExpressionVisitorFactory);
member this.With : Microsoft.EntityFrameworkCore.Query.IRelationalSqlTranslatingExpressionVisitorFactory -> Microsoft.EntityFrameworkCore.Query.RelationalQueryableMethodTranslatingExpressionVisitorDependencies
Public Function With (relationalSqlTranslatingExpressionVisitorFactory As IRelationalSqlTranslatingExpressionVisitorFactory) As RelationalQueryableMethodTranslatingExpressionVisitorDependencies

Parameters

relationalSqlTranslatingExpressionVisitorFactory
IRelationalSqlTranslatingExpressionVisitorFactory

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to

With(ISqlExpressionFactory)

Source:
RelationalQueryableMethodTranslatingExpressionVisitorDependencies.cs
Source:
RelationalQueryableMethodTranslatingExpressionVisitorDependencies.cs
Source:
RelationalQueryableMethodTranslatingExpressionVisitorDependencies.cs

Clones this dependency parameter object with one service replaced.

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

Parameters

sqlExpressionFactory
ISqlExpressionFactory

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to