共用方式為


AffectedCountModificationCommandBatch.ThrowAggregateUpdateConcurrencyException 方法

定義

多載

ThrowAggregateUpdateConcurrencyException(RelationalDataReader, Int32, Int32, Int32)

擲回例外狀況,指出命令影響非預期的資料列數目。

ThrowAggregateUpdateConcurrencyException(Int32, Int32, Int32)

擲回例外狀況,指出命令影響非預期的資料列數目。

ThrowAggregateUpdateConcurrencyException(RelationalDataReader, Int32, Int32, Int32)

來源:
AffectedCountModificationCommandBatch.cs
來源:
AffectedCountModificationCommandBatch.cs
來源:
AffectedCountModificationCommandBatch.cs

擲回例外狀況,指出命令影響非預期的資料列數目。

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)

參數

reader
RelationalDataReader

資料讀取器。

commandIndex
Int32

命令的序數。

expectedRowsAffected
Int32

受影響的預期資料列數目。

rowsAffected
Int32

受影響的實際資料列數目。

適用於

ThrowAggregateUpdateConcurrencyException(Int32, Int32, Int32)

來源:
AffectedCountModificationCommandBatch.cs
來源:
AffectedCountModificationCommandBatch.cs
來源:
AffectedCountModificationCommandBatch.cs
來源:
AffectedCountModificationCommandBatch.cs
來源:
AffectedCountModificationCommandBatch.cs
來源:
AffectedCountModificationCommandBatch.cs

擲回例外狀況,指出命令影響非預期的資料列數目。

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)

參數

commandIndex
Int32

命令的序數。

expectedRowsAffected
Int32

受影響的預期資料列數目。

rowsAffected
Int32

受影響的實際資料列數目。

適用於