During initialization phrase UnityBase load application domain UBDomain and create a global variable for each entity from domain. Name of such global variable equal to entity name. EntityNamespace pseudo class is a accessor for such namespaces.

The main task of this class is to provide a code insight in IDEs like WebStorm or VSCode. ubcli createCodeInsightHelper command will create a stubs for all entities in model.

# new EntityNamespace ()


# entity : UBEntity instance

Reference to entity metadata