Compartilhar via


AffectedCountModificationCommandBatch.ThrowAggregateUpdateConcurrencyException Método

Definição

Sobrecargas

ThrowAggregateUpdateConcurrencyException(RelationalDataReader, Int32, Int32, Int32)

Gera uma exceção indicando que o comando afetou um número inesperado de linhas.

ThrowAggregateUpdateConcurrencyException(Int32, Int32, Int32)

Gera uma exceção indicando que o comando afetou um número inesperado de linhas.

ThrowAggregateUpdateConcurrencyException(RelationalDataReader, Int32, Int32, Int32)

Gera uma exceção indicando que o comando afetou um número inesperado de linhas.

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

O leitor de dados.

commandIndex
Int32

O ordinal do comando.

expectedRowsAffected
Int32

O número esperado de linhas afetadas.

rowsAffected
Int32

O número real de linhas afetadas.

Aplica-se a

ThrowAggregateUpdateConcurrencyException(Int32, Int32, Int32)

Gera uma exceção indicando que o comando afetou um número inesperado de linhas.

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

O ordinal do comando.

expectedRowsAffected
Int32

O número esperado de linhas afetadas.

rowsAffected
Int32

O número real de linhas afetadas.

Aplica-se a