IMetabase.FetchItemsByld

Syntax

FetchItemsById(Id: Array; [Namespace_: Integer =0;][Options: MetabaseFetchOptions = 0]): IMetabaseObjectDescriptors;

Parameters

Id. Internal objects identifiers.

Namespace_. The namespace which includes the specified identifiers.

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

Description

The FetchItemsByld method returns description of the specified collection of objects, and loads descriptions of specified linked objects.

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 method IMsCalculationChainEntries.AddExclusiveModelmethod.

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

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

See also:

IMetabase