Share via


SelectExpression.GetMappedProjection(ProjectionMember) Method

Definition

Caution

Use GetProjection method using ProjectionBindingExpression to get mapped projection.

Gets the projection mapped to the given ProjectionMember.

public System.Linq.Expressions.Expression GetMappedProjection (Microsoft.EntityFrameworkCore.Query.ProjectionMember projectionMember);
[System.Obsolete("Use GetProjection method using ProjectionBindingExpression to get mapped projection.")]
public System.Linq.Expressions.Expression GetMappedProjection (Microsoft.EntityFrameworkCore.Query.ProjectionMember projectionMember);
member this.GetMappedProjection : Microsoft.EntityFrameworkCore.Query.ProjectionMember -> System.Linq.Expressions.Expression
[<System.Obsolete("Use GetProjection method using ProjectionBindingExpression to get mapped projection.")>]
member this.GetMappedProjection : Microsoft.EntityFrameworkCore.Query.ProjectionMember -> System.Linq.Expressions.Expression
Public Function GetMappedProjection (projectionMember As ProjectionMember) As Expression

Parameters

projectionMember
ProjectionMember

A projection member to search in the mapping.

Returns

The mapped projection for given projection member.

Attributes

Applies to