SelectExpression.AddSingleProjection(ShapedQueryExpression) Method

Definition

Adds a non-scalar single result to the projection of the SelectExpression.

public System.Linq.Expressions.Expression AddSingleProjection (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression shapedQueryExpression);
member this.AddSingleProjection : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression -> System.Linq.Expressions.Expression
Public Function AddSingleProjection (shapedQueryExpression As ShapedQueryExpression) As Expression

Parameters

shapedQueryExpression
ShapedQueryExpression

A shaped query expression for the subquery producing single non-scalar result.

Returns

A shaper expression to shape the result of this projection.

Applies to