Namespace LemonEdge.API.Migrations.Core
Classes
ConnectionUpgraderNotifier
A static helper class to ensure all connections upgrade their models from a client notificaion
CustomUpgradeHelper
SQLWrapperUpdater
A class that can be implemented by any custom sql wrapper that should be dynamically generated or updated on every database upgrade
For instance the system QUERYNAME canvas query is regenerated every time the system is updated to account for any new entities and their changes
Typically this implementation can also implement IBaseDataSetProcessorWithDBSave to make sure this is automatically run when dependant items are modified tooInterfaces
IConnectionModelChanged
This is implemented by the connection type that directly connects to a database.
When the client directly connected to a database upgrades the database, it needs to notify the connection the database has been upgraded so it can recompile the model
The client itself does not distinguish between the database or service connection types, so this is implemented internally to the db connection typeICustomUpgrader
ICustomUpgradeVersionHandler
With custom addins this provids a mechanism to record version numbers representing the state the database is in, and if upgrades are required