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
IUpdateEntryEntry object.
mainEntry
boolWhether this is the main entry. Only one main entry can be added to a given command.