Db Concurrency Exception Update
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
DbUpdateConcurrencyException(String, IReadOnlyList(Of IUpdateEntry))
Initializes a new instance of the DbUpdateConcurrencyException class.
public DbUpdateConcurrencyException(string message, IReadOnlyList<IUpdateEntry> entries)
Public Sub New(message As String, entries As IReadOnlyList(Of IUpdateEntry))
- System.String System.String
The error message that explains the reason for the exception.
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)