DbUpdateConcurrencyException DbUpdateConcurrencyException Class

Definition

An exception that is thrown when a concurrency violation is encountered while saving to the database. A concurrency violation occurs when an unexpected number of rows are affected during save. This is usually because the data in the database has been modified since it was loaded into memory.

public class DbUpdateConcurrencyException : DbUpdateException, ISerializable, _Exception
Public Class DbUpdateConcurrencyException
    Inherits DbUpdateException
    Implements ISerializable, _Exception
Inheritance
System.ObjectSystem.Object
System.ExceptionSystem.Exception
DbUpdateConcurrencyExceptionDbUpdateConcurrencyException
Implements
System.Runtime.Serialization.ISerializableSystem.Runtime.Serialization.ISerializable System.Runtime.InteropServices._ExceptionSystem.Runtime.InteropServices._Exception

Constructors

DbUpdateConcurrencyException(String, IReadOnlyList<IUpdateEntry>) DbUpdateConcurrencyException(String, IReadOnlyList(Of IUpdateEntry))

Initializes a new instance of the DbUpdateConcurrencyException class.

Properties

Entries Entries

Gets the entries that were involved in the error. Typically this is a single entry, but in some cases it may be zero or multiple entries.

(Inherited from DbUpdateException)

Methods

System.Exception.Data System.Exception.Data Inherited from System.Exception
System.Object.Equals(System.Object) System.Object.Equals(System.Object) Inherited from System.Object
System.Object.Equals(System.Object, System.Object) System.Object.Equals(System.Object, System.Object) Inherited from System.Object
System.Exception.GetBaseException() System.Exception.GetBaseException() Inherited from System.Exception
System.Object.GetHashCode() System.Object.GetHashCode() Inherited from System.Object
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) Inherited from System.Exception
System.Exception.GetType() System.Exception.GetType() Inherited from System.Exception
System.Exception.HelpLink System.Exception.HelpLink Inherited from System.Exception
System.Exception.HResult System.Exception.HResult Inherited from System.Exception
System.Exception.InnerException System.Exception.InnerException Inherited from System.Exception
System.Object.MemberwiseClone() System.Object.MemberwiseClone() Inherited from System.Object
System.Exception.Message System.Exception.Message Inherited from System.Exception
System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ReferenceEquals(System.Object, System.Object) Inherited from System.Object
System.Exception.SerializeObjectState System.Exception.SerializeObjectState Inherited from System.Exception
System.Exception.Source System.Exception.Source Inherited from System.Exception
System.Exception.StackTrace System.Exception.StackTrace Inherited from System.Exception
System.Exception.TargetSite System.Exception.TargetSite Inherited from System.Exception
System.Exception.ToString() System.Exception.ToString() Inherited from System.Exception