Back to Devexpress

SchemaCorrectionNeededException Class

corelibraries-devexpress-dot-xpo-dot-db-dot-exceptions-58111795.md

latest1.7 KB
Original Source

SchemaCorrectionNeededException Class

An exception that is thrown when the storage schema doesn’t match the structure of persistent objects and the schema cannot be modified.

Namespace : DevExpress.Xpo.DB.Exceptions

Assembly : DevExpress.Data.v25.2.dll

NuGet Package : DevExpress.Data

Declaration

csharp
public class SchemaCorrectionNeededException :
    Exception
vb
Public Class SchemaCorrectionNeededException
    Inherits Exception

Remarks

This exception is raised when the storage schema doesn’t match the structure of persistent objects and the schema cannot be modified (for instance, if the IDataStore.AutoCreateOption option is set to AutoCreateOption.None or AutoCreateOption.SchemaAlreadyExists).

Solution:

  • check the AutoCreateOption options.

Inheritance

Object Exception SchemaCorrectionNeededException

See Also

SchemaCorrectionNeededException Members

DevExpress.Xpo.DB.Exceptions Namespace