SystemUpdateActionBase Class |
Namespace: Omada.OE.AppLogic.Model
public abstract class SystemUpdateActionBase : ISystemUpdateAction
The SystemUpdateActionBase type exposes the following members.
Name | Description | |
---|---|---|
![]() | SystemUpdateActionBase |
Name | Description | |
---|---|---|
![]() | AfterBootup |
Set to true if the update should be executed after the "bootup" of the system.
This means that the data cache is available, and there is an AppIdentity on the thread.
Typically SQL queries should be executed before bootup.
Code logic should be always be executed after bootup.
|
![]() | AfterFeaturePackageImport |
Set to true if the update should be executed after an import of feature package changes.
|
![]() | Dependencies |
If the SystemUpdateAction depends on another SystemUpdateAction, the array should contain the key(s) of that particular update(s).
|
![]() | Keys |
List of unique string keys which can be used to identify the update.
When making changes to an existing SystemUpdateAction, which should be executed again, a new key must be appended to the keys array.
|
![]() | OnlyInOIS |
Set to true if the update action should only be executed in OIS databases (and not in pure ES DBs).
Must be set to true if the action relies on data that only exists in an OIS DB (and not in a ES DB).
This setting exists for the the benefit of some of the older integrity tests.
|
![]() | Repetition |
Specify to control if action should only be performed once or repeatedly.
|
Name | Description | |
---|---|---|
![]() | PerformUpdate |
This method can be used to execute SQL script (using the helper method on the UpdateActionArgs) or C# code
|
![]() | PostponeExecution |
This method can be used to decide if the update action should be executed.
E.g. check for the existence of a specific featurepackage change which the update action relies on.
|
Name | Description | |
---|---|---|
![]() | ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) |
![]() | ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) |
![]() | ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |