Click or drag to resize

ApplicationManager Class

ApplicationManager provides information about the application, application meta data and access to the application's data manager.
  • Application Info: Application name and application id in the Unvired server.
  • Application Meta Data: Meta data describing the application ApplicationMeta, the business entities BusinessEntityMeta, the data structure objects (headers and items - StructureMeta and fields of the data structures FieldMeta.
  • Application Data Manager: Data manager is the handle to the application to the database for database operations - IDataManager.
ApplicationManager is a singleton and access to its instance has to be obtained using property Instance.
Inheritance Hierarchy
SystemObject
  Unvired.Kernel.UWP.CoreApplicationManager

Namespace:  Unvired.Kernel.UWP.Core
Assembly:  Unvired.Kernel.UWP (in Unvired.Kernel.UWP.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class ApplicationManager

The ApplicationManager type exposes the following members.

Properties
  NameDescription
Public propertyApplicationId
Application Id assigned by the server
Public propertyApplicationName
Application Name same as in Metadata xml
Public propertyBeTableMapping
Public propertyStatic memberInstance
Get ApplicationManager singleton instance
Top
Methods
  NameDescription
Public methodActivateApplication
Update application id in ApplicationMeta table
Public methodDeleteInfoMessage(DataStructure)
Delete InfoMessage
Public methodDeleteInfoMessage(String, String)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetApplicationMeta
Get ApplicationMeta of this application
Public methodGetApplicationMeta(String)
Get ApplicationMeta
Public methodGetBeName
Public methodGetBusinessEntitiesMeta
Get list of BusinessEntityMeta for this application
Public methodGetDataManager
Get ApplicationDataManager instance which can be used for any database operation on application database
Public methodGetFieldsMeta
Public methodGetHashCode (Inherited from Object.)
Public methodGetHeaderStructureMeta
Get StructureMeta for given BusinessEntity name
Public methodGetInfoMessage
Get List of InfoMessages for give DataStructure
Public methodGetStructureMeta
Get the Structure details for given structure name
Public methodGetType (Inherited from Object.)
Public methodIsHeader
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Fields
  NameDescription
Public fieldAppName
Top
See Also