.NET Standard 2.0+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.0+

DatabaseVersionMismatchEventArgs Class

Represents arguments passed to the XafApplication.DatabaseVersionMismatch event.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v21.2.dll

Declaration

public class DatabaseVersionMismatchEventArgs :
    HandledEventArgs

Remarks

The DatabaseVersionMismatchEventArgs class declares the DatabaseVersionMismatchEventArgs.Updater property specific to the XafApplication.DatabaseVersionMismatch event, which is designed to update the application’s database. This property allows using the DatabaseUpdater class to update the database version. In addition, use the DatabaseVersionMismatchEventArgs.CompatibilityError property to get the error that has occurred while checking the compatibility of the application and database.

This class is inherited from the HandledEventArgs class, so you can set the handler’s Handled parameter, to prevent the default update of database version.

The following code snippets (auto-collected from DevExpress Examples) contain references to the DatabaseVersionMismatchEventArgs class.

Note

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.

Inheritance

Object
EventArgs
HandledEventArgs
DatabaseVersionMismatchEventArgs
See Also