共用方式為


RelationalCollectionShaperExpression.Update 方法

定義

建立類似這個運算式的新運算式,但使用提供的子系。 如果所有子系都相同,則會傳回這個運算式。

public virtual Microsoft.EntityFrameworkCore.Query.RelationalCollectionShaperExpression Update (System.Linq.Expressions.Expression parentIdentifier, System.Linq.Expressions.Expression outerIdentifier, System.Linq.Expressions.Expression selfIdentifier, System.Linq.Expressions.Expression innerShaper);
abstract member Update : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression -> Microsoft.EntityFrameworkCore.Query.RelationalCollectionShaperExpression
override this.Update : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression -> Microsoft.EntityFrameworkCore.Query.RelationalCollectionShaperExpression
Public Overridable Function Update (parentIdentifier As Expression, outerIdentifier As Expression, selfIdentifier As Expression, innerShaper As Expression) As RelationalCollectionShaperExpression

參數

parentIdentifier
Expression

結果的 ParentIdentifier 屬性。

outerIdentifier
Expression

結果的 OuterIdentifier 屬性。

selfIdentifier
Expression

結果的 SelfIdentifier 屬性。

innerShaper
Expression

結果的 InnerShaper 屬性。

傳回

如果沒有變更任何子系則為這個運算式,否則為具有更新之子系的運算式。

適用於