共用方式為


SelectExpression.GetMappedProjection(ProjectionMember) 方法

定義

警告

Use GetProjection method using ProjectionBindingExpression to get mapped projection.

取得對應至指定 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

參數

projectionMember
ProjectionMember

要搜尋對應中的投影成員。

傳回

指定投影成員的對應投影。

屬性

適用於