Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DatabaseVersionMismatchEventArgs Class

Represents arguments passed to the XafApplication.DatabaseVersionMismatch event.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#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.

#Inheritance

Object
EventArgs
HandledEventArgs
DatabaseVersionMismatchEventArgs
See Also