IMetabaseUpdateKeyMap.FindByOldId

Fore Syntax

FindByOldId(ClassId: Integer; Id: String): IMetabaseUpdateObjectRemapping;

Fore.NET Syntax

FindByOldId(ClassId: integer; Id: string): Prognoz.Platform.Interop.Metabase.IMetabaseUpdateObjectRemapping;

Parameters

ClassId. Index of the class, to which object belongs.

Id. Object key in update.

Description

The FindByOldId method searches parameters of object mapping by its identifier and class in update.

Comments

Object class indexes are contained in the MetabaseObjectClass enumeration.

If parameters are not found, the method returns Null.

Fore and Fore.NET Examples

The property use is given in the example for IMetabaseUpdateContext.RegisterHierarchyChangeO.

See also:

IMetabaseUpdateKeyMap