Dela via


SelectExpressionDependencies.With Method

Definition

Overloads

With(IQuerySqlGeneratorFactory)

Clones this dependency parameter object with one service replaced.

With(IRelationalTypeMappingSource)

Clones this dependency parameter object with one service replaced.

With(IQuerySqlGeneratorFactory)

Source:
SelectExpressionDependencies.cs
Source:
SelectExpressionDependencies.cs

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Query.Expressions.SelectExpressionDependencies With (Microsoft.EntityFrameworkCore.Query.Sql.IQuerySqlGeneratorFactory querySqlGeneratorFactory);
member this.With : Microsoft.EntityFrameworkCore.Query.Sql.IQuerySqlGeneratorFactory -> Microsoft.EntityFrameworkCore.Query.Expressions.SelectExpressionDependencies
Public Function With (querySqlGeneratorFactory As IQuerySqlGeneratorFactory) As SelectExpressionDependencies

Parameters

querySqlGeneratorFactory
IQuerySqlGeneratorFactory

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to

With(IRelationalTypeMappingSource)

Source:
SelectExpressionDependencies.cs
Source:
SelectExpressionDependencies.cs

Clones this dependency parameter object with one service replaced.

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

Parameters

typeMappingSource
IRelationalTypeMappingSource

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to