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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework