語言

AffectedCountModificationCommandBatch.ThrowAggregateUpdateConcurrencyException 方法

定義

多載

名稱 Description
ThrowAggregateUpdateConcurrencyException(RelationalDataReader, Int32, Int32, Int32)

會拋出一個例外,表示指令影響了意外數量的列數。

ThrowAggregateUpdateConcurrencyException(Int32, Int32, Int32)

會拋出一個例外,表示指令影響了意外數量的列數。

ThrowAggregateUpdateConcurrencyException(RelationalDataReader, Int32, Int32, Int32)

來源:
AffectedCountModificationCommandBatch.cs
來源:
AffectedCountModificationCommandBatch.cs
來源:
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

實際受影響的行數。

適用於