DbUpdateConcurrencyException Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 : 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
- Inheritance
- Attributes
See Handling concurrency conflicts for more information and examples.
Db |
Initializes a new instance of the DbUpdateConcurrencyException class. |
Db |
Obsolete.
Initializes a new instance of the DbUpdateException class from a serialized form. |
Db |
Initializes a new instance of the DbUpdateConcurrencyException class. |
Db |
Initializes a new instance of the DbUpdateConcurrencyException class. |
Db |
Initializes a new instance of the DbUpdateConcurrencyException class. |
Db |
Initializes a new instance of the DbUpdateConcurrencyException class. |
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) |
Product | Versions |
---|---|
Entity Framework Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: