Class Definition Reference
Specifies whether that this is a computed property.
To specify that this property is computed, use the following syntax:
Property name As classname [ SqlComputeCode = sqlcomputecode, SqlComputed ];
Otherwise, omit this keyword or place the word Not
immediately before the keyword.
If a property has a value for the SqlComputed keyword, InterSystems IRIS uses that value to compute the property. Specifically, a new class method, <property>Compute
, is generated from SqlComputeCode. This method is called from the property’s <property>Get
method. If the property also has SqlComputeOnChange
keyword specified, then the <property>Compute
method is called at the specified times.
This functionality is implemented in the <property>Get
methods. If you override either of those methods, then property computations do not work unless there are provisions in the overridden method implementations to trigger computations.
If you omit this keyword, this property is not computed.
Content Date/Time: 2019-06-20 04:56:34