Skip to main content
.NET 6.0+

IModelDifference.Version Property

Specifies the version of the current IModelDifference object.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

int Version { get; set; }

Property Value

Type Description
Int32

An integer value which is the version number of the model differences object.

Remarks

Classes that implement IModelDifference do not provide any logic which updates the Version value. Instead, the Version is incremented by the ModelDifferenceViewController when the model differences are updated by the application administrator (using Actions demonstrated in the Enable Administrative UI section of the How to: Store the Application Model Differences in the Database example). The version number is used by the ModelDifferenceDbStore class to avoid overriding the administrator’s changes by users who are logged on at the moment the administrator makes changes.

See Also