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>%Storage.Persistent</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 %Storage.Persistent class is the default storage class and provides the default storage structure.
The %Storage.SQL class is used for mapping classes to legacy data structures.
For serial (embedded) classes, this must be set to %Storage.Serial (which is set automatically by the New Class Wizard).
Default Value
The default value for the <Type> element is %Storage.Persistent.