JsonQueryExpression.Update 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.
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
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