Table of Contents

Interface INonTrackedModificationCommand

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

Represents a mutable conceptual database command to insert/update/delete a row.

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

public interface INonTrackedModificationCommand : IReadOnlyModificationCommand
Inherited Members

Remarks

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

Properties

EntityState

The Microsoft.EntityFrameworkCore.EntityState that indicates whether the row will be inserted (Microsoft.EntityFrameworkCore.EntityState.Added), updated (Microsoft.EntityFrameworkCore.EntityState.Modified), or deleted ((Microsoft.EntityFrameworkCore.EntityState.Deleted).

EntityState EntityState { get; set; }

Property Value

EntityState

Methods

AddColumnModification(in ColumnModificationParameters)

Creates a new IColumnModification and add it to this command.

IColumnModification AddColumnModification(in ColumnModificationParameters columnModificationParameters)

Parameters

columnModificationParameters ColumnModificationParameters

Creation parameters.

Returns

IColumnModification

The new IColumnModification instance.