Click or drag to resize

AppGlobal Class

The AppGlobal class contains statically cached objects. Use the property AppGlobal.Cache to retrieve the cache for the active users Customer database.
Inheritance Hierarchy
SystemObject
  Omada.OE.ModelAppGlobal

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
public static class AppGlobal

The AppGlobal type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberCache
Contains the DataCache for the active users customer. Can be null if the cache has not yet been initialized. Caution: The Cache should be used with care as you can't rely on that it contains newly created data such as Properties and Data Object Types. Cache is mainly intended to be used in the Web layer - it is refreshed every time a page is rendered.
Public propertyStatic memberCaches
Contains all the customer DataCache objects
Public propertyStatic memberCustomerConnStr
The connection string the the Customer database as registered in the master database
Public propertyStatic memberLockMode
When set to 1 the application runs in a serialized database locking scheme.
Public propertyStatic memberMasterConnStr
ADO.NET connection string the the master database. Initialized from the registry by default but can be set programatically.
Public propertyStatic memberMasterSettings
Contains the settings from the master database
Top
Methods
  NameDescription
Public methodStatic memberGetCustomerConnStr
The connection string the the Customer database as registered in the master database
Top
See Also