Jump to: navigation, search

Difference between revisions of "ExternalPrimaryKey"


(External Reference)
Line 1: Line 1:
If the [[ProxyMetaProperty]] on a MetaProxy object is marked as "ExternalPrimaryKey" Ubik will handle the Property of the [[Proxy]] as an '''External key Property'''.
+
If a [[MetaProxyProperty]] related to a [[MetaProxy]] is configured to be a '''ExternalPrimaryKey''' {{UBIK}} will handle this property of the corresponding [[Proxy]] object as an '''external key property'''.
  
 
== Feature ==
 
== Feature ==
Line 17: Line 17:
 
* [[ProxyMetaProperty]]
 
* [[ProxyMetaProperty]]
  
[[Category:Interfacing]]
+
[[Category:Interfacing|ExternalPrimaryKey]]

Revision as of 10:41, 23 November 2015

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

Feature

It is possible to search for Proxy objects by their external key property.

It is possible to create links between proxy objects by using their external key properties and an external reference.

External Reference

An external Reference is a link to a Proxy instance via property values. If the ProxyMetaProperty 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