Table of Contents

Class ColumnModification

Namespace
Microsoft.EntityFrameworkCore.Update
Assembly
Microsoft.EntityFrameworkCore.Relational.dll

Implementation of IColumnModification interface.

This type is typically used by database providers; it is generally not used in application code.

public class ColumnModification : IColumnModification
Inheritance
ColumnModification
Implements
Inherited Members

Remarks

Represents an update, insert, or delete operation for a single column. IReadOnlyModificationCommand contain lists of IColumnModification.

See Implementation of database providers and extensions for more information and examples.

Constructors

ColumnModification(in ColumnModificationParameters)

Creates a new ColumnModification instance.

public ColumnModification(in ColumnModificationParameters columnModificationParameters)

Parameters

columnModificationParameters ColumnModificationParameters

Creation parameters.

Properties

Column

public virtual IColumnBase? Column { get; }

Property Value

IColumnBase

ColumnName

public virtual string ColumnName { get; }

Property Value

string

ColumnType

public virtual string? ColumnType { get; }

Property Value

string

Entry

public virtual IUpdateEntry? Entry { get; }

Property Value

IUpdateEntry

IsCondition

public virtual bool IsCondition { get; set; }

Property Value

bool

IsKey

public virtual bool IsKey { get; set; }

Property Value

bool

IsNullable

public virtual bool? IsNullable { get; }

Property Value

bool?

IsRead

public virtual bool IsRead { get; set; }

Property Value

bool

IsWrite

public virtual bool IsWrite { get; set; }

Property Value

bool

JsonPath

public virtual string? JsonPath { get; }

Property Value

string

OriginalParameterName

public virtual string? OriginalParameterName { get; }

Property Value

string

OriginalValue

public virtual object? OriginalValue { get; set; }

Property Value

object

ParameterName

public virtual string? ParameterName { get; }

Property Value

string

Property

public virtual IProperty? Property { get; }

Property Value

IProperty

TypeMapping

public virtual RelationalTypeMapping? TypeMapping { get; }

Property Value

RelationalTypeMapping

UseCurrentValue

public virtual bool UseCurrentValue { get; }

Property Value

bool

UseCurrentValueParameter

public virtual bool UseCurrentValueParameter { get; }

Property Value

bool

UseOriginalValue

public virtual bool UseOriginalValue { get; }

Property Value

bool

UseOriginalValueParameter

public virtual bool UseOriginalValueParameter { get; }

Property Value

bool

UseParameter

public virtual bool UseParameter { get; }

Property Value

bool

Value

public virtual object? Value { get; set; }

Property Value

object

Methods

AddSharedColumnModification(IColumnModification)

public virtual void AddSharedColumnModification(IColumnModification modification)

Parameters

modification IColumnModification

ResetParameterNames()

public virtual void ResetParameterNames()