SelectExpression.ReplaceProjectionMapping 方法

定义

注意

Use ReplaceProjection method instead.

将当前投影映射替换为新的投影映射,以更改从此 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))

参数

projectionMapping
IDictionary<ProjectionMember,Expression>

新的投影映射。

属性

适用于