DataCache Class | 
Namespace: Omada.OE.Model
public class DataCache
The DataCache type exposes the following members.
| Name | Description | |
|---|---|---|
| AppStringSupport | ||
| Collation | 
            Collation of the database. Used when creating tempdb tables.
              | |
| ConnStr | 
            På webserver er ConnStr tom!
              | |
| CustomerId | 
            ID of the Customer object
              | |
| CustomerName | ||
| CustomerSettings | ||
| DataObjectTypes | 
            Contains all regular data object types (shadow types are not included).
            Tip: Use GetDataObjectType (3 overloads) to get a data object type instead of accessing the DataObjectTypes collection.
              | |
| EnableConfigurationChangeLogging | 
            Informs whether logging of configuration changes is enabled.
            The information comes from the customer settings but is stored here for cheaper retrieval.
              | |
| FldMaxLenDataObjectVersionPropertyValueTextShortPropValue | 
            Contains the length of the column PropValue in the table DataObjectVersionPropertyValueTextShort.
            The size is read from the INFORMATION_SCHEMA on application startup.
              | |
| LicenseWarnings | 
            Contains detected license warnings for displaying in the portal
              | |
| Properties | 
            Tip: Use GetProperty (3 overloads) to get a property instead of accessing the Properties collection.
              | |
| PropertyManager | Obsolete. | |
| TimeZones | 
            Contains all timezones in the system
              | |
| TypeManager | Obsolete. | 
| Name | Description | |
|---|---|---|
| ClearLicenseWarning | ||
| GetDataObjectType(Guid, Boolean) | 
            Gets a data object type from the cache.
            Caution:
            The cache should be used with care as you can't rely on that it is updated.
            The cache should never be used in the Model layer.
              | |
| GetDataObjectType(Int32, Boolean) | 
            Gets a data object type from the cache.
            Caution:
            The cache should be used with care as you can't rely on that it is updated.
            The cache should never be used in the Model layer.
              | |
| GetDataObjectType(String, Boolean) | 
            Gets a data object type from the cache.
            Caution:
            The cache should be used with care as you can't rely on that it is updated.
            The cache should never be used in the Model layer.
              | |
| GetObjectId | Obsolete. | |
| GetProperty(Guid, Boolean) | 
            Gets a property from the cache.
            Caution:
            The cache should be used with care as you can't rely on that it is updated.
            The cache should never be used in the Model layer.
              | |
| GetProperty(Int32, Boolean) | ||
| GetProperty(String, Boolean) | 
            Gets a property from the cache.
            Caution:
            The cache should be used with care as you can't rely on that it is updated.
            The cache should never be used in the Model layer.
              | |
| SetLicenseWarning | 
| Name | Description | |
|---|---|---|
| ToBool | 
            Converts object to boolean.
              (Defined by ObjectExtensions.) | |
| ToDateTime | 
            Converts object to DateTime.
              (Defined by ObjectExtensions.) | |
| ToInt | 
            Converts object to integer.
              (Defined by ObjectExtensions.) |