次の方法で共有


AffectedCountModificationCommandBatch.ThrowAggregateUpdateConcurrencyException メソッド

定義

オーバーロード

ThrowAggregateUpdateConcurrencyException(RelationalDataReader, Int32, Int32, Int32)

コマンドが予期しない行数に影響したことを示す例外をスローします。

ThrowAggregateUpdateConcurrencyException(Int32, Int32, Int32)

コマンドが予期しない行数に影響したことを示す例外をスローします。

ThrowAggregateUpdateConcurrencyException(RelationalDataReader, Int32, Int32, Int32)

コマンドが予期しない行数に影響したことを示す例外をスローします。

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)

コマンドが予期しない行数に影響したことを示す例外をスローします。

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

影響を受ける実際の行数。

適用対象