IReadOnlyModificationCommand Interface

Definition

Represents a 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 IReadOnlyModificationCommand
type IReadOnlyModificationCommand = interface
Public Interface IReadOnlyModificationCommand
Derived

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.

EntityState

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

Entries

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

RequiresResultPropagation

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

RowsAffectedColumn

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

Schema

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

StoreStoredProcedure

The stored procedure to use for updating the data.

Table

The table containing the data to be modified.

TableName

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

Methods

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.

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.

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.

Applies to