IRdsDictionaryElement.Data

Syntax

Data: IRdsDictionaryElementData;

Description

The Data property returns element data.

Comments

Values of system attributes are loaded into cache by default. DB query is executed to get values of custom attributes. It is not necessary to call this property many times to avoid needless queries.

If IRdsDictionaryInstance.FetchAll = True, values of system and custom attributes are loaded to cache at the same time. In this case it is better not to use the Data property because excessive queries are executed. Data of an element must be received directly, for example through the Value property inherited from IRdsDictionaryElementData. This feature is available starting from Prognoz Platform 7 version 7.0 or later.

Example

The property use is given in description of IRdsDictionaryElement.Update.

See also:

IRdsDictionaryElement