IMetabase.FetchItems

Syntax

FetchItems(Keys: Array; [Options: Integer = 0]): IMetabaseObjectDescriptors;

Parameters

Keys. Array of internal object keys.

Options. Settings of the lazy loading of descriptions type by identifiers.

Description

The FetchItems method returns descriptions of objects or objects for which the lazy loading of descriptions attribute is set, by keys.

Comments

The example of the object with the lazy loading of description is the internal model of the metamodel calculation chain. The example of internal model creation is given in description of the IMsCalculationChainEntries.AddExclusiveModelmethod.

The type of linked objects which require to download the description is specified in the Options parameter. If the computer memory contains cached descriptions, the method will load them.

If the repository uses lazy loading of descriptions, on execution of the method the object description is cached in memory. On the following requests the description will be taken from the computer cache. However, for the objects for which the IMetabaseObjectDescriptor.IsDeferred attribute is set, descriptions will not be cached. Working with these objects will be performed by the Fetch* methods.

See also:

IMetabase