Difference between revisions of "ExternalPrimaryKey"
Line 16: | Line 16: | ||
* [[MetaProxy]] | * [[MetaProxy]] | ||
* [[ProxyMetaProperty]] | * [[ProxyMetaProperty]] | ||
+ | |||
+ | [[Category:Interfacing]] |
Revision as of 13:51, 16 January 2014
If the ProxyMetaProperty on a MetaProxy object is marked as "ExternalPrimaryKey" Ubik will handle the Property of the Proxy 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.
When using external keys and external references it does not matter which object is created first (master or child), the linkage will be done! |