Table of Contents

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 ColumnExpression

A column to be updated.

value SqlExpression

A value to be assigned to the column.

Properties

Column

The column to update value of.

public virtual ColumnExpression Column { get; }

Property Value

ColumnExpression

Value

The value to be assigned to the column.

public virtual SqlExpression Value { get; }

Property Value

SqlExpression

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int