Share via


QueryableMethodTranslatingExpressionVisitor.TranslateResultSelectorForJoin Method

Definition

Caution

QueryExpressions should combine shapers to work in client eval scenarios.

Translates the result selector for join operation.

protected virtual Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression TranslateResultSelectorForJoin (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression outer, System.Linq.Expressions.LambdaExpression resultSelector, System.Linq.Expressions.Expression innerShaper, Type transparentIdentifierType);
[System.Obsolete("QueryExpressions should combine shapers to work in client eval scenarios.")]
protected virtual Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression TranslateResultSelectorForJoin (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression outer, System.Linq.Expressions.LambdaExpression resultSelector, System.Linq.Expressions.Expression innerShaper, Type transparentIdentifierType);
abstract member TranslateResultSelectorForJoin : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * System.Linq.Expressions.LambdaExpression * System.Linq.Expressions.Expression * Type -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
override this.TranslateResultSelectorForJoin : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * System.Linq.Expressions.LambdaExpression * System.Linq.Expressions.Expression * Type -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
[<System.Obsolete("QueryExpressions should combine shapers to work in client eval scenarios.")>]
abstract member TranslateResultSelectorForJoin : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * System.Linq.Expressions.LambdaExpression * System.Linq.Expressions.Expression * Type -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
override this.TranslateResultSelectorForJoin : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * System.Linq.Expressions.LambdaExpression * System.Linq.Expressions.Expression * Type -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
Protected Overridable Function TranslateResultSelectorForJoin (outer As ShapedQueryExpression, resultSelector As LambdaExpression, innerShaper As Expression, transparentIdentifierType As Type) As ShapedQueryExpression

Parameters

outer
ShapedQueryExpression

The shaped query expression for outer source. The join on the query expression is already performed on outer query expression.

resultSelector
LambdaExpression

The result selector lambda to translate.

innerShaper
Expression

The shaper for inner source.

transparentIdentifierType
Type

The clr type of transparent identifier created from result.

Returns

The shaped query expression after translation of result selector.

Attributes

Applies to