Table of Contents

Interface IModificationCommand

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 IModificationCommand : IReadOnlyModificationCommand
Inherited Members

Remarks

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

Methods

AddEntry(IUpdateEntry, bool)

Adds an entry to the command.

void AddEntry(IUpdateEntry entry, bool mainEntry)

Parameters

entry IUpdateEntry

Entry object.

mainEntry bool

Whether this is the main entry. Only one main entry can be added to a given command.