SelectExpression.GetMappedProjection(ProjectionMember) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework