docs.intersystems.com
Home / Class Definition Reference / Storage Keywords / DefaultData


Class Definition Reference
DefaultData
Previous section           Next section
InterSystems: The power behind what matters   
Search:  


Specifies the default data storage definition.
Synopsis
<DefaultData>MyData</DefaultData>
Value
The value of this element is the name of a data storage node within the current storage definition.
Description
Specifies the name of the DATA definition that the class compiler data structure generator uses to place any previously unstored properties. A property is “unstored” if it is storable but is not listed in any DATA definition.
If you add a new, non-transient, property to a persistent class definition, and do not explicitly define a storage location for it, then the class compiler will automatically find a storage location for the property within the storage node specified by the <DefaultData> element.
Default Value
The default value for the <DefaultData> element is an empty string.


Previous section           Next section
View this book as PDF
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA
Content Date/Time: 2019-02-15 22:51:05