namespace staticbo. shared
Source: shared/
Contains components used by models, collections and other components.
Child classes
Property
Classes
ConfigurationError
DataPortalAction
DataPortalContext
DataPortalError
DataPortalEvent
DataPortalEventArgs
DataStore
EventHandlerList
ExtensionManager
ExtensionManagerBase
ExtensionManagerSync
ModelError
ModelState
PropertyContext
PropertyFlag
PropertyInfo
PropertyManager
TransferContext
Property
innerconfiguration
The configuration object for business objects.
Properties
Name | Type | Optional | Description |
---|---|---|---|
connectionManager |
|
The connection manager instance. It must be set via bo.initialize or bo.configuration.initialize. |
|
daoBuilder |
|
Factory method to create data access objects. The default method is bo.dataAccess.daoBuilder. |
|
getUser |
|
Returns the current user. The default method returns null, i.e. anonymous user is assumed. |
|
getLocale |
|
Returns the current locale. The default method returns an empty string, i.e. the business objects will use the default messages. |
|
pathOfLocales |
string |
Yes |
The relative path of the directory containing project locales. If not supplied, the business objects cannot interpret the first message argument as the message key, i.e. the first message argument must be the message text. |
noAccessBehavior |
|
The default behavior for unauthorized operations. The default value is bo.rules.NoAccessBehavior#throwError. |
|
initialize |
|
Reads the configuration of business objects. |