Click or drag to resize

ISystemUpdateAction Interface

A SystemUpdateAction can be used to update the ES database by executing SQL queries or code.

Namespace:  Omada.OE.AppLogic.Model
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public interface ISystemUpdateAction

The ISystemUpdateAction type exposes the following members.

Properties
  NameDescription
Public propertyAfterBootup
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 update actions which only contains SQL updates should be executed before bootup. Update actions which contains code logic must always be executed after bootup.
Public propertyAfterFeaturePackageImport
Set to true if the update should be executed after an import of feature package changes.
Public propertyDependencies
If the SystemUpdateAction depends on another SystemUpdateAction, the array should contain the key(s) of that particular update(s).
Public propertyKeys
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.
Public propertyOnlyInOIS
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.
Public propertyRepetition
Specify to control if action should only be performed once or repeatedly.
Top
Methods
  NameDescription
Public methodPerformUpdate
This method can be used to execute SQL script (using the helper method on the UpdateActionArgs) or C# code
Public methodPostponeExecution
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.
Top
See Also