company logo

Far base collection

Keywords:  far property

Far base collections are base collections, which are defined in another instance as the derived collection, i.e. usually in another structure. In contrast to near base collections, collections based on a far base collection need an inverse reference, always. When no inverse reference is defined, the super set/subset relation cannot be maintained.

You refer to near base collections by means of a property path that begins with two dots, like company.employees. Property paths for far base collections contain two or more property names separated by dots. The properties in the path must fulfill the following conditions for being able to provide full support for the far base collection:

  • each property in the path except the last one must refer to a single reference property
  • each property in the path must have an inverse property
  • each property in the path should be "owning", "dependent" or "secondary"