expressappframework-devexpress-dot-expressapp-dot-updating-dot-moduleupdater.md
Performs a database update after the database schema is updated.
Namespace : DevExpress.ExpressApp.Updating
Assembly : DevExpress.ExpressApp.v25.2.dll
NuGet Package : DevExpress.ExpressApp
public virtual void UpdateDatabaseAfterUpdateSchema()
Public Overridable Sub UpdateDatabaseAfterUpdateSchema
To learn how to use this method, refer to the ModuleUpdater class description.
The following code snippets (auto-collected from DevExpress Examples) contain references to the UpdateDatabaseAfterUpdateSchema() method.
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.
public override void UpdateDatabaseAfterUpdateSchema() {
base.UpdateDatabaseAfterUpdateSchema();
//,new MyUpdater(objectSpace,versionFromDB)
public override void UpdateDatabaseAfterUpdateSchema() {
base.UpdateDatabaseAfterUpdateSchema();
if (ObjectSpace.GetObjectsCount(typeof(Singleton), null) == 0) {
public override void UpdateDatabaseAfterUpdateSchema() {
base.UpdateDatabaseAfterUpdateSchema();
//,new MyUpdater(objectSpace,versionFromDB)
public override void UpdateDatabaseAfterUpdateSchema() {
base.UpdateDatabaseAfterUpdateSchema();
//string name = "MyName";
public override void UpdateDatabaseAfterUpdateSchema() {
base.UpdateDatabaseAfterUpdateSchema();
//,new MyUpdater(objectSpace,versionFromDB)
Public Overrides Sub UpdateDatabaseAfterUpdateSchema()
MyBase.UpdateDatabaseAfterUpdateSchema()
End Sub
xaf-how-to-enforce-password-complexity-in-xaf/VB/Solution161.Module.Win/Updater.vb#L15
Public Overrides Sub UpdateDatabaseAfterUpdateSchema()
MyBase.UpdateDatabaseAfterUpdateSchema()
End Sub
Public Overrides Sub UpdateDatabaseAfterUpdateSchema()
MyBase.UpdateDatabaseAfterUpdateSchema()
End Sub
Public Overrides Sub UpdateDatabaseAfterUpdateSchema()
MyBase.UpdateDatabaseAfterUpdateSchema()
Dim adminEmployeeRole As EmployeeRole = ObjectSpace.FindObject(Of EmployeeRole)(New BinaryOperator("Name", SecurityStrategy.AdministratorRoleName))
Public Overrides Sub UpdateDatabaseAfterUpdateSchema()
MyBase.UpdateDatabaseAfterUpdateSchema()
'CreateSecurityObjects();
See Also