Back to Devexpress

IObjectSpaceProvider.SchemaUpdateMode Property

expressappframework-devexpress-dot-expressapp-dot-iobjectspaceprovider-eaf35758.md

latest2.0 KB
Original Source

IObjectSpaceProvider.SchemaUpdateMode Property

Specifies how to handle compatibility checking for the database associated with the current IObjectSpaceProvider.

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
SchemaUpdateMode SchemaUpdateMode { get; set; }
vb
Property SchemaUpdateMode As SchemaUpdateMode

Property Value

TypeDescription
SchemaUpdateMode

A SchemaUpdateMode enumeration value that specifies how to handle database compatibility checking.

|

Available values:

NameDescription
None

Database compatibility issues are ignored.

| | DatabaseAndSchema |

Missing database is autocreated. The database schema is updated when the compatibility check fails.

|

Remarks

If you use multiple databases and multiple Object Space Providers, you may want to prevent the application from updating the schema of certain databases. Use the SchemaUpdateMode property for this purpose.

See Also

IObjectSpaceProvider Interface

IObjectSpaceProvider Members

DevExpress.ExpressApp Namespace