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 deferred 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 deferred loading of the description is the internal model of the metamodel calculation chain. The example of internal model creation is given in description of theIMsCalculationChainEntries.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 deferred 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