Jump to: navigation, search

ExternalPrimaryKey


Revision as of 10:43, 23 November 2015 by KNO (Talk | contribs)

If a MetaProxyProperty related to a MetaProxy is configured to be an ExternalPrimaryKey UBIK® will handle this property of the corresponding Proxy object as an external key property.

Such properties provide the following features:

  • Proxy objects can be searched by their external key property;
  • Proxy objects can be linked to each other by using their external key properties and an external reference.

External reference

An external reference is a link to a Proxy instance via a property value. If the MetaProxyProperty has a defined Reference it is defined as an External Reference. The Proxy will refer automatically to the instance of the targeted MetaProxy having the same entry in its external Primary Key Property than the given Proxy instance.

IC Hint square.pngWhen using external keys and external references it does not matter which object is created first (master or child), the linkage will be done!
IC Attention.pngOnly one External Primary Key Property is supported for one MetaProxy object. Hence, the External Primary Key can consist of only one MetaProxyProperty.

See also