docs.intersystems.com
Home  /  Application Development: Core Topics  /  Class Definition Reference  /  Storage Keywords  /  Type


Class Definition Reference
Type
[Back] 
InterSystems: The power behind what matters   
Search:  


Storage class used to provide persistence.
Synopsis
<Type>%CacheStorage</Type>
Value
The value of this element is a class name.
Description
This element specifies the storage class that provides persistence for this class.
The %Library.CacheStorage class is the default storage class and provides the default storage structure.
The %Library.CacheSQLStorage class is used for mapping classes to legacy data structures.
For serial (embedded) classes, this must be set to %Library.CacheSerialState (which is set automatically by the New Class Wizard).
Default Value
The default value for the <Type> element is %Library.CacheStorage.