UpdateExpression Class

Definition

An expression that represents an UPDATE operation in a SQL tree.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

public sealed class UpdateExpression : System.Linq.Expressions.Expression, Microsoft.EntityFrameworkCore.Query.IPrintableExpression
type UpdateExpression = class
    inherit Expression
    interface IPrintableExpression
Public NotInheritable Class UpdateExpression
Inherits Expression
Implements IPrintableExpression
Inheritance
UpdateExpression
Implements

Constructors

UpdateExpression(TableExpression, SelectExpression, IReadOnlyList<ColumnValueSetter>)

Creates a new instance of the UpdateExpression class.

Properties

ColumnValueSetters

The list of ColumnValueSetter which specifies columns and their corresponding values to update.

NodeType

Gets the node type of this Expression.

SelectExpression

The select expression which is used to determine which rows to update and to get data from additional tables.

Table

The table on which the update operation is being applied.

Tags

The list of tags applied to this UpdateExpression.

Type

Gets the static type of the expression that this Expression represents.

Methods

ApplyTags(ISet<String>)

Applies a given set of tags.

Equals(Object) System.Linq.Expressions.Expression.Equals(System.Object)
GetHashCode() System.Linq.Expressions.Expression.GetHashCode
Print(ExpressionPrinter)

Creates a printable string representation of the given expression using ExpressionPrinter.

Update(SelectExpression, IReadOnlyList<ColumnValueSetter>)

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.

Applies to