AffectedCountModificationCommandBatch.ThrowAggregateUpdateConcurrencyException Método

Definición

Sobrecargas

ThrowAggregateUpdateConcurrencyException(RelationalDataReader, Int32, Int32, Int32)

Produce una excepción que indica que el comando afectó a un número inesperado de filas.

ThrowAggregateUpdateConcurrencyException(Int32, Int32, Int32)

Produce una excepción que indica que el comando afectó a un número inesperado de filas.

ThrowAggregateUpdateConcurrencyException(RelationalDataReader, Int32, Int32, Int32)

Produce una excepción que indica que el comando afectó a un número inesperado de filas.

protected virtual void ThrowAggregateUpdateConcurrencyException (Microsoft.EntityFrameworkCore.Storage.RelationalDataReader reader, int commandIndex, int expectedRowsAffected, int rowsAffected);
abstract member ThrowAggregateUpdateConcurrencyException : Microsoft.EntityFrameworkCore.Storage.RelationalDataReader * int * int * int -> unit
override this.ThrowAggregateUpdateConcurrencyException : Microsoft.EntityFrameworkCore.Storage.RelationalDataReader * int * int * int -> unit
Protected Overridable Sub ThrowAggregateUpdateConcurrencyException (reader As RelationalDataReader, commandIndex As Integer, expectedRowsAffected As Integer, rowsAffected As Integer)

Parámetros

reader
RelationalDataReader

Lector de datos.

commandIndex
Int32

Ordinal del comando.

expectedRowsAffected
Int32

Número esperado de filas afectadas.

rowsAffected
Int32

Número real de filas afectadas.

Se aplica a

ThrowAggregateUpdateConcurrencyException(Int32, Int32, Int32)

Produce una excepción que indica que el comando afectó a un número inesperado de filas.

protected virtual void ThrowAggregateUpdateConcurrencyException (int commandIndex, int expectedRowsAffected, int rowsAffected);
abstract member ThrowAggregateUpdateConcurrencyException : int * int * int -> unit
override this.ThrowAggregateUpdateConcurrencyException : int * int * int -> unit
Protected Overridable Sub ThrowAggregateUpdateConcurrencyException (commandIndex As Integer, expectedRowsAffected As Integer, rowsAffected As Integer)

Parámetros

commandIndex
Int32

Ordinal del comando.

expectedRowsAffected
Int32

Número esperado de filas afectadas.

rowsAffected
Int32

Número real de filas afectadas.

Se aplica a