Condividi tramite


AffectedCountModificationCommandBatch.ThrowAggregateUpdateConcurrencyException Metodo

Definizione

Overload

ThrowAggregateUpdateConcurrencyException(RelationalDataReader, Int32, Int32, Int32)

Genera un'eccezione che indica che il comando ha interessato un numero imprevisto di righe.

ThrowAggregateUpdateConcurrencyException(Int32, Int32, Int32)

Genera un'eccezione che indica che il comando ha interessato un numero imprevisto di righe.

ThrowAggregateUpdateConcurrencyException(RelationalDataReader, Int32, Int32, Int32)

Origine:
AffectedCountModificationCommandBatch.cs
Origine:
AffectedCountModificationCommandBatch.cs
Origine:
AffectedCountModificationCommandBatch.cs

Genera un'eccezione che indica che il comando ha interessato un numero imprevisto di righe.

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)

Parametri

reader
RelationalDataReader

Lettore di dati.

commandIndex
Int32

Ordinale del comando.

expectedRowsAffected
Int32

Numero previsto di righe interessate.

rowsAffected
Int32

Numero effettivo di righe interessate.

Si applica a

ThrowAggregateUpdateConcurrencyException(Int32, Int32, Int32)

Origine:
AffectedCountModificationCommandBatch.cs
Origine:
AffectedCountModificationCommandBatch.cs
Origine:
AffectedCountModificationCommandBatch.cs
Origine:
AffectedCountModificationCommandBatch.cs
Origine:
AffectedCountModificationCommandBatch.cs
Origine:
AffectedCountModificationCommandBatch.cs

Genera un'eccezione che indica che il comando ha interessato un numero imprevisto di righe.

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)

Parametri

commandIndex
Int32

Ordinale del comando.

expectedRowsAffected
Int32

Numero previsto di righe interessate.

rowsAffected
Int32

Numero effettivo di righe interessate.

Si applica a