An exception thrown because an attempt is made to modify a row in a database, but its version doesn’t match the version of the row being posted.
public class LockingException : Exception
Public Class LockingException Inherits Exception
This exception supports data concurrency in the Optimistic Locking mechanism. It is raised if the row’s data being written back to a database is not consistent with the current data in the database. For instance, a row has been modified by another user/thread after the row’s values were read by the current thread. To learn more about optimistic concurrency, refer to Optimistic Concurrency.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the LockingException class.
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.