SelectExpression.ReplaceProjectionMapping 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 ReplaceProjection method instead.
Replaces current projection mapping with a new one to change what is being projected out from this SelectExpression.
public void ReplaceProjectionMapping (System.Collections.Generic.IDictionary<Microsoft.EntityFrameworkCore.Query.ProjectionMember,System.Linq.Expressions.Expression> projectionMapping);
[System.Obsolete("Use ReplaceProjection method instead.")]
public void ReplaceProjectionMapping (System.Collections.Generic.IDictionary<Microsoft.EntityFrameworkCore.Query.ProjectionMember,System.Linq.Expressions.Expression> projectionMapping);
member this.ReplaceProjectionMapping : System.Collections.Generic.IDictionary<Microsoft.EntityFrameworkCore.Query.ProjectionMember, System.Linq.Expressions.Expression> -> unit
[<System.Obsolete("Use ReplaceProjection method instead.")>]
member this.ReplaceProjectionMapping : System.Collections.Generic.IDictionary<Microsoft.EntityFrameworkCore.Query.ProjectionMember, System.Linq.Expressions.Expression> -> unit
Public Sub ReplaceProjectionMapping (projectionMapping As IDictionary(Of ProjectionMember, Expression))
Parameters
- projectionMapping
- IDictionary<ProjectionMember,Expression>
A new projection mapping.
- 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