Class ColumnValueSetter
- Namespace
- Microsoft.EntityFrameworkCore.Query.SqlExpressions
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
An object that represents a column = value construct in a SET clause of UPDATE command in SQL tree.
This type is typically used by database providers (and other extensions). It is generally not used in application code.
public class ColumnValueSetter
- Inheritance
-
ColumnValueSetter
- Inherited Members
Constructors
ColumnValueSetter(ColumnExpression, SqlExpression)
Creates a new instance of the ColumnValueSetter class.
public ColumnValueSetter(ColumnExpression column, SqlExpression value)
Parameters
column
ColumnExpressionA column to be updated.
value
SqlExpressionA value to be assigned to the column.
Properties
Column
The column to update value of.
public virtual ColumnExpression Column { get; }
Property Value
Value
The value to be assigned to the column.
public virtual SqlExpression Value { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()