IRdsDictionaryElement.Data

Syntax

Data: IRdsDictionaryElementData;

Description

The Data property returns element data.

Comments

Values of system attributes are loaded to 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 obtained directly, for example, using the Value property inherited from IRdsDictionaryElementData.

Example

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

See also:

IRdsDictionaryElement