DbUpdateConcurrencyException Class
Exception thrown by DbContext when it was expected that SaveChanges for an entity would result in a database update but in fact no rows in the database were affected. This usually indicates that the database has been concurrently updated such that a concurrency token that was expected to match did not actually match. Note that state entries referenced by this exception are not serialized due to security and accesses to the state entries after serialization will return null.
Assembly: EntityFramework (in EntityFramework.dll)
System.Exception
System.SystemException
System.Data.DataException
System.Data.Entity.Infrastructure.DbUpdateException
System.Data.Entity.Infrastructure.DbUpdateConcurrencyException
Name | Description | |
---|---|---|
![]() | DbUpdateConcurrencyException() | Initializes a new instance of the DbUpdateException class. |
![]() | DbUpdateConcurrencyException(String) | Initializes a new instance of the DbUpdateException class. |
![]() | DbUpdateConcurrencyException(String, Exception) | Initializes a new instance of the DbUpdateException class. |
Name | Description | |
---|---|---|
![]() | Data | (Inherited from Exception.) |
![]() | Entries | Gets DbEntityEntry objects that represents the entities that could not be saved to the database.(Inherited from DbUpdateException.) |
![]() | HelpLink | (Inherited from Exception.) |
![]() | HResult | (Inherited from Exception.) |
![]() | InnerException | (Inherited from Exception.) |
![]() | Message | (Inherited from Exception.) |
![]() | Source | (Inherited from Exception.) |
![]() | StackTrace | (Inherited from Exception.) |
![]() | TargetSite | (Inherited from Exception.) |
Name | Description | |
---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetBaseException() | (Inherited from Exception.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetObjectData(SerializationInfo, StreamingContext) | (Inherited from Exception.) |
![]() | GetType() | (Inherited from Exception.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Exception.) |
Name | Description | |
---|---|---|
![]() | SerializeObjectState | (Inherited from Exception.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.