Assembly: Metabase;
Namespace: Prognoz.Platform.Interop.Metabase;
The IMetabaseUpdateKeyMap interface is used to work with a map of keys used for repeated mapping of update objects.
IMetabaseUpdateKeyMap
To get a key map, use the IMetabaseUpdateContext.KeyMap property.
Key map is a collection of elements describing object from update and object mapped with it in consumer repository. Elements are added into collection automatically after executing methods of the IMetabaseUpdateContext interface.
Property name | Brief description | |
Count | The Count property returns the number of collection elements. | |
The IsEmpty property returns whether key map is empty. | ||
The Item property returns the specified element from collection. |
Method name | Brief description | |
The FindByNewKey method searches object mapping parameters by its key in consumer repository. | ||
FindByOldId | The FindByOldId method searches parameters of object mapping by its identifier and class in update. | |
FindByOldKey | The FindByOldKey method searches parameters of object mapping by its key in update. | |
The Remove method removes element from collection by its index. |
See also: