IModificationCommand Interface

Definition

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 : Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand
type IModificationCommand = interface
    interface IReadOnlyModificationCommand
Public Interface IModificationCommand
Implements IReadOnlyModificationCommand
Derived
Implements

Remarks

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

Properties

ColumnModifications

The list of IColumnModification needed to perform the insert, update, or delete.

(Inherited from IReadOnlyModificationCommand)
EntityState

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

(Inherited from IReadOnlyModificationCommand)
Entries

The IUpdateEntry that represent the entities that are mapped to the row to update.

(Inherited from IReadOnlyModificationCommand)
RequiresResultPropagation

Indicates whether the database will return values for some mapped properties that will then need to be propagated back to the tracked entities.

(Inherited from IReadOnlyModificationCommand)
RowsAffectedColumn

When using a stored procedure, this optionally points to the output parameter or result column containing the rows affected.

(Inherited from IReadOnlyModificationCommand)
Schema

The schema containing the table, or null to use the default schema.

(Inherited from IReadOnlyModificationCommand)
StoreStoredProcedure

The stored procedure to use for updating the data.

(Inherited from IReadOnlyModificationCommand)
Table

The table containing the data to be modified.

(Inherited from IReadOnlyModificationCommand)
TableName

The name of the table containing the data to be modified.

(Inherited from IReadOnlyModificationCommand)

Methods

AddColumnModification(ColumnModificationParameters)

Creates a new IColumnModification and add it to this command.

AddEntry(IUpdateEntry, Boolean)

Adds an entry to the command.

PropagateOutputParameters(DbParameterCollection, Int32)

Reads output parameters returned from the database in the given parameterCollection and propagates them back to into the appropriate IColumnModification from which the values can be propagated on to tracked entities.

(Inherited from IReadOnlyModificationCommand)
PropagateResults(RelationalDataReader)

Reads result set columns returned from the database in the given relationalReader and propagates them back to into the appropriate IColumnModification from which the values can be propagated on to tracked entities.

(Inherited from IReadOnlyModificationCommand)
PropagateResults(ValueBuffer)

Reads values returned from the database in the given ValueBuffer and propagates them back to into the appropriate IColumnModification from which the values can be propagated on to tracked entities.

(Inherited from IReadOnlyModificationCommand)

Applies to