Share via


JsonQueryExpression.Update Method

Definition

Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression.

public virtual Microsoft.EntityFrameworkCore.Query.JsonQueryExpression Update (Microsoft.EntityFrameworkCore.Query.SqlExpressions.ColumnExpression jsonColumn, System.Collections.Generic.IReadOnlyDictionary<Microsoft.EntityFrameworkCore.Metadata.IProperty,Microsoft.EntityFrameworkCore.Query.SqlExpressions.ColumnExpression> keyPropertyMap);
abstract member Update : Microsoft.EntityFrameworkCore.Query.SqlExpressions.ColumnExpression * System.Collections.Generic.IReadOnlyDictionary<Microsoft.EntityFrameworkCore.Metadata.IProperty, Microsoft.EntityFrameworkCore.Query.SqlExpressions.ColumnExpression> -> Microsoft.EntityFrameworkCore.Query.JsonQueryExpression
override this.Update : Microsoft.EntityFrameworkCore.Query.SqlExpressions.ColumnExpression * System.Collections.Generic.IReadOnlyDictionary<Microsoft.EntityFrameworkCore.Metadata.IProperty, Microsoft.EntityFrameworkCore.Query.SqlExpressions.ColumnExpression> -> Microsoft.EntityFrameworkCore.Query.JsonQueryExpression
Public Overridable Function Update (jsonColumn As ColumnExpression, keyPropertyMap As IReadOnlyDictionary(Of IProperty, ColumnExpression)) As JsonQueryExpression

Parameters

jsonColumn
ColumnExpression

The JsonColumn property of the result.

keyPropertyMap
IReadOnlyDictionary<IProperty,ColumnExpression>

The map of key properties and columns they map to.

Returns

This expression if no children changed, or an expression with the updated children.

Applies to