FetchItems(Keys: Array; [Options: Integer = 0]): IMetabaseObjectDescriptors;
Keys. Array of inner object keys.
Options. Settings of the lazy loading of descriptions type by identifiers.
The FetchItems method returns descriptions of objects or objects for which the lazy loading of descriptions attribute is set, by keys.
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 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: