DbUpdateConcurrencyException 클래스

정의

데이터베이스에 저장하는 동안 동시성 위반이 발생할 때 throw되는 예외입니다. 동시성 위반은 저장 중에 예기치 않은 수의 행이 영향을 받을 때 발생합니다. 이는 일반적으로 데이터베이스의 데이터가 메모리에 로드된 이후 수정되었기 때문입니다.

public class DbUpdateConcurrencyException : Microsoft.EntityFrameworkCore.DbUpdateException
[System.Serializable]
public class DbUpdateConcurrencyException : Microsoft.EntityFrameworkCore.DbUpdateException
type DbUpdateConcurrencyException = class
    inherit DbUpdateException
[<System.Serializable>]
type DbUpdateConcurrencyException = class
    inherit DbUpdateException
Public Class DbUpdateConcurrencyException
Inherits DbUpdateException
상속
DbUpdateConcurrencyException
특성

설명

자세한 내용과 예제 는 동시성 충돌 처리를 참조하세요.

생성자

DbUpdateConcurrencyException()

DbUpdateConcurrencyException 클래스의 새 인스턴스를 초기화합니다.

DbUpdateConcurrencyException(SerializationInfo, StreamingContext)
사용되지 않음.

직렬화된 양식에서 클래스의 DbUpdateException 새 instance 초기화합니다.

DbUpdateConcurrencyException(String)

DbUpdateConcurrencyException 클래스의 새 인스턴스를 초기화합니다.

DbUpdateConcurrencyException(String, Exception)

DbUpdateConcurrencyException 클래스의 새 인스턴스를 초기화합니다.

DbUpdateConcurrencyException(String, Exception, IReadOnlyList<IUpdateEntry>)

DbUpdateConcurrencyException 클래스의 새 인스턴스를 초기화합니다.

DbUpdateConcurrencyException(String, IReadOnlyList<IUpdateEntry>)

DbUpdateConcurrencyException 클래스의 새 인스턴스를 초기화합니다.

속성

Entries

오류에 관련된 항목을 가져옵니다. 일반적으로 단일 항목이지만 경우에 따라 항목이 0개 또는 여러 개일 수 있습니다.

(다음에서 상속됨 DbUpdateException)

적용 대상