다음을 통해 공유


AffectedCountModificationCommandBatch.ThrowAggregateUpdateConcurrencyException 메서드

정의

오버로드

ThrowAggregateUpdateConcurrencyException(RelationalDataReader, Int32, Int32, Int32)

명령이 예기치 않은 행 수에 영향을 미쳤음을 나타내는 예외를 throw합니다.

ThrowAggregateUpdateConcurrencyException(Int32, Int32, Int32)

명령이 예기치 않은 행 수에 영향을 미쳤음을 나타내는 예외를 throw합니다.

ThrowAggregateUpdateConcurrencyException(RelationalDataReader, Int32, Int32, Int32)

명령이 예기치 않은 행 수에 영향을 미쳤음을 나타내는 예외를 throw합니다.

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)

명령이 예기치 않은 행 수에 영향을 미쳤음을 나타내는 예외를 throw합니다.

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

영향을 받는 실제 행 수입니다.

적용 대상