Skip to main content
A newer version of this page is available. .

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.v20.2.dll

NuGet Packages: DevExpress.Data, DevExpress.WindowsDesktop.Data

Declaration

public class SchemaCorrectionNeededException :
    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