IMetabase.FetchItems

Syntax

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

FetchItems(Keys: System.Array; Options: integer): Prognoz.Platform.Interop.Metabase.IMetabaseObjectDescriptors;

Parameters

Keys. Array of inner object keys.

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

Description

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

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 execution of the method the description of the method is cached in the 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