Back to Devexpress

DevExpress.Xpo.DB.Exceptions Namespace

corelibraries-devexpress-dot-xpo-dot-db-bcab3fe1.md

latest1.8 KB
Original Source

DevExpress.Xpo.DB.Exceptions Namespace

Contains classes that describe exceptions on the datastore level.

Assembly : DevExpress.Data.v25.2.dll

NuGet Package : DevExpress.Data

Classes

NameDescription
ConstraintViolationExceptionAn exception that is thrown when a key or index constraint fails.
LockingExceptionAn 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.
PropertyTypeMappingMissingExceptionAn exception that is thrown when a connection provider cannot identify the type of column to create a column in a data store.
SchemaCorrectionNeededExceptionAn exception that is thrown when the storage schema doesn’t match the structure of persistent objects and the schema cannot be modified.
SqlExecutionErrorExceptionAn exception that is thrown when an unexpected error occurs during the execution of a SQL statement.
UnableToCreateDBObjectExceptionAn exception that is thrown when a specific object cannot be created in a data store.
UnableToOpenDatabaseExceptionAn exception that is thrown when a database either cannot be created or opened.