DbUpdateConcurrencyException クラス

定義

データベースへの保存中にコンカレンシー違反が発生した場合にスローされる例外。 コンカレンシー違反は、保存中に予期しない数の行が影響を受けると発生します。 これは通常、データベース内のデータがメモリに読み込まれてから変更されているためです。

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 新しいインスタンスを初期化します。

DbUpdateConcurrencyException(String)

DbUpdateConcurrencyException クラスの新しいインスタンスを初期化します。

DbUpdateConcurrencyException(String, Exception)

DbUpdateConcurrencyException クラスの新しいインスタンスを初期化します。

DbUpdateConcurrencyException(String, Exception, IReadOnlyList<IUpdateEntry>)

DbUpdateConcurrencyException クラスの新しいインスタンスを初期化します。

DbUpdateConcurrencyException(String, IReadOnlyList<IUpdateEntry>)

DbUpdateConcurrencyException クラスの新しいインスタンスを初期化します。

プロパティ

Entries

エラーに関連したエントリを取得します。 通常、これは 1 つのエントリですが、場合によっては 0 個または複数のエントリになる場合があります。

(継承元 DbUpdateException)

適用対象