Freigeben über


AffectedCountModificationCommandBatch.ThrowAggregateUpdateConcurrencyException Methode

Definition

Überlädt

ThrowAggregateUpdateConcurrencyException(RelationalDataReader, Int32, Int32, Int32)

Löst eine Ausnahme aus, die angibt, dass der Befehl eine unerwartete Anzahl von Zeilen beeinflusst hat.

ThrowAggregateUpdateConcurrencyException(Int32, Int32, Int32)

Löst eine Ausnahme aus, die angibt, dass der Befehl eine unerwartete Anzahl von Zeilen beeinflusst hat.

ThrowAggregateUpdateConcurrencyException(RelationalDataReader, Int32, Int32, Int32)

Löst eine Ausnahme aus, die angibt, dass der Befehl eine unerwartete Anzahl von Zeilen beeinflusst hat.

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)

Parameter

reader
RelationalDataReader

Der Datenleser.

commandIndex
Int32

Die Ordnungszahl des Befehls.

expectedRowsAffected
Int32

Die erwartete Anzahl der betroffenen Zeilen.

rowsAffected
Int32

Die tatsächliche Anzahl der betroffenen Zeilen.

Gilt für:

ThrowAggregateUpdateConcurrencyException(Int32, Int32, Int32)

Löst eine Ausnahme aus, die angibt, dass der Befehl eine unerwartete Anzahl von Zeilen beeinflusst hat.

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)

Parameter

commandIndex
Int32

Die Ordnungszahl des Befehls.

expectedRowsAffected
Int32

Die erwartete Anzahl der betroffenen Zeilen.

rowsAffected
Int32

Die tatsächliche Anzahl der betroffenen Zeilen.

Gilt für: