UniqueKey: IRdsUniqueKey;
UniqueKey: Prognoz.Platform.Interop.Rds.IRdsUniqueKey;
The UniqueKey property determines the number of attributes included into the unique key.
The set of attributes can be used to correspond a record from the import source with the MDM dictionary element and to determine relationship between imported elements.
The unique key must belong to the same dictionary as the import scheme.
If the property value is not set, the check is based on the KEY attribute. To get the KEY attribute, use the IRdsAttributes.Key property.
The unique key should be imported according to the following:
The KEY attribute must be unlinked to the data source field. To get the KEY attribute, use the IRdsAttributes.Key property.
All attributes included into the unique index must be linked to the data source field.
If the unique key contains more than one attribute, the PARENT_KEY attribute must be linked to the data source field. To get the PARENT_KEY attribute, use the IRdsAttributes.ParentKey property.
The property use is given in the example for IRdsImportSchema.TableObject.
See also: